WSL2-Linux-Kernel/drivers/net/benet
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 be2net: remove ASIC generation number from Kconfig 2010-02-12 12:28:00 -08:00
Makefile net: Add be2net driver. 2009-03-11 23:32:22 -07:00
be.h be2net: fix to dynamically generate MAC Address for VFs 2010-08-25 16:41:25 -07:00
be_cmds.c be2net: fix to avoid sending get_stats request if one is already being processed. 2010-07-30 23:59:06 -07:00
be_cmds.h be2net: add code to dump registers for debug 2010-07-30 23:59:05 -07:00
be_ethtool.c be2net: stats for packets received due to internal switching in ASIC. 2010-08-25 16:41:26 -07:00
be_hw.h Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2010-08-04 15:31:02 -07:00
be_main.c drivers/net: avoid some skb->ip_summed initializations 2010-09-02 19:06:22 -07:00