2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-30 08:04:13 +08:00
linux-next/drivers/net/vxge
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 vxge: Update copyright information 2010-07-15 20:46:22 -07:00
vxge-config.c vxge: Update copyright information 2010-07-15 20:46:22 -07:00
vxge-config.h vxge: Update copyright information 2010-07-15 20:46:22 -07:00
vxge-ethtool.c vxge: Update copyright information 2010-07-15 20:46:22 -07:00
vxge-ethtool.h vxge: Update copyright information 2010-07-15 20:46:22 -07:00
vxge-main.c drivers/net: avoid some skb->ip_summed initializations 2010-09-02 19:06:22 -07:00
vxge-main.h vxge: Implement 64bit stats 2010-08-19 00:16:51 -07:00
vxge-reg.h vxge: Update copyright information 2010-07-15 20:46:22 -07:00
vxge-traffic.c vxge: Update copyright information 2010-07-15 20:46:22 -07:00
vxge-traffic.h vxge: Update copyright information 2010-07-15 20:46:22 -07:00
vxge-version.h vxge: Version update 2010-07-15 20:46:23 -07:00