The patch titled wan-add-missing-skb-dev-assignment-in-frame-relay-rx-code cleanup has been added to the -mm tree. Its filename is wan-add-missing-skb-dev-assignment-in-frame-relay-rx-code-cleanup.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: wan-add-missing-skb-dev-assignment-in-frame-relay-rx-code cleanup From: Stephen Hemminger <shemminger@xxxxxxxxxx> Better to use netdev_alloc_skb for receive buffers instead. Cc: Krzysztof Halasa <khc@xxxxxxxxx> Cc: Jeff Garzik <jeff@xxxxxxxxxx> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> Cc: <stable@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/net/wan/hdlc_fr.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -puN drivers/net/wan/hdlc_fr.c~wan-add-missing-skb-dev-assignment-in-frame-relay-rx-code-cleanup drivers/net/wan/hdlc_fr.c --- a/drivers/net/wan/hdlc_fr.c~wan-add-missing-skb-dev-assignment-in-frame-relay-rx-code-cleanup +++ a/drivers/net/wan/hdlc_fr.c @@ -515,7 +515,7 @@ static void fr_lmi_send(struct net_devic } } - skb = dev_alloc_skb(len); + skb = netdev_alloc_skb(dev, len); if (!skb) { printk(KERN_WARNING "%s: Memory squeeze on fr_lmi_send()\n", dev->name); @@ -1008,7 +1008,6 @@ static int fr_rx(struct sk_buff *skb) stats->rx_bytes += skb->len; if (pvc->state.becn) stats->rx_compressed++; - skb->dev = dev; netif_rx(skb); return NET_RX_SUCCESS; } else { _ Patches currently in -mm which might be from shemminger@xxxxxxxxxx are origin.patch wan-add-missing-skb-dev-assignment-in-frame-relay-rx-code-cleanup.patch sysctl-allow-override-of-proc-sys-net-with-cap_net_admin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html