WSL2-Linux-Kernel/drivers/net/atlx
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
..
Makefile atl2: add atl2 driver 2008-09-18 11:34:52 -04:00
atl1.c drivers/net: avoid some skb->ip_summed initializations 2010-09-02 19:06:22 -07:00
atl1.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
atl2.c drivers/net: Remove address use from assignments of function pointers 2010-08-25 15:35:43 -07:00
atl2.h tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00
atlx.c net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
atlx.h atlx: move modinfo data from atlx.h to atl1.c 2009-05-26 20:50:12 -07:00