kernel-fxtec-pro1x/drivers/net/e1000
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
..
e1000.h e1000: use netif_<level> instead of netdev_<level> 2010-07-26 23:37:21 -07:00
e1000_ethtool.c e1000: use netif_<level> instead of netdev_<level> 2010-07-26 23:37:21 -07:00
e1000_hw.c e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_hw.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_main.c drivers/net: avoid some skb->ip_summed initializations 2010-09-02 19:06:22 -07:00
e1000_osdep.h e1000: Use netdev_<level>, pr_<level> and dev_<level> 2010-04-27 17:05:03 -07:00
e1000_param.c e1000: cleanup unused parameters 2010-05-14 03:06:19 -07:00
Makefile