linux/drivers/net/stmmac
Eric Dumazet bc8acf2c8c drivers/net: avoid some skb->ip_summed initializations
fresh skbs have ip_summed set to CHECKSUM_NONE (0)

We can avoid setting again skb->ip_summed to CHECKSUM_NONE in drivers.

Introduce skb_checksum_none_assert() helper so that we keep this
assertion documented in driver sources.

Change most occurrences of :

skb->ip_summed = CHECKSUM_NONE;

by :

skb_checksum_none_assert(skb);

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-09-02 19:06:22 -07:00
..
Kconfig stmmac: Make time functionality depend upon RTC_HCTOSYS_DEVICE 2010-08-26 20:32:02 -07:00
Makefile stmmac: rework normal and enhanced descriptors 2010-04-14 04:49:50 -07:00
common.h stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
descs.h stmmac: rename the gmac as dwmac1000 and split core and dma parts 2010-01-07 17:06:10 -08:00
dwmac100.h stmmac: rework normal and enhanced descriptors 2010-04-14 04:49:50 -07:00
dwmac100_core.c stmmac: Fix another build warning. 2010-08-31 20:56:48 -07:00
dwmac100_dma.c stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
dwmac1000.h stmmac: fix automatic PAD/FCS stripping 2010-07-27 20:43:50 -07:00
dwmac1000_core.c stmmac: Fix build warnings. 2010-08-30 21:55:17 -07:00
dwmac1000_dma.c stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
dwmac_dma.h stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
dwmac_lib.c stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
enh_desc.c stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
norm_desc.c stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
stmmac.h stmmac: Fix build warnings. 2010-08-30 21:55:17 -07:00
stmmac_ethtool.c stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
stmmac_main.c drivers/net: avoid some skb->ip_summed initializations 2010-09-02 19:06:22 -07:00
stmmac_mdio.c stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
stmmac_timer.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
stmmac_timer.h stmmac: do not fail when the timer cannot be used. 2009-11-23 10:37:52 -08:00