OpenCloudOS-Kernel/drivers/net/qlcnic
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 qlcnic: Qlogic ethernet driver for CNA devices 2010-01-16 01:17:15 -08:00
qlcnic.h qlcnic: add cksum flag 2010-09-01 10:41:58 -07:00
qlcnic_ctx.c qlcnic: fix mac override capability 2010-09-01 10:41:56 -07:00
qlcnic_ethtool.c qlcnic: add api version in reg dump 2010-09-01 10:41:53 -07:00
qlcnic_hdr.h qlcnic: backout firmware initialization update 2010-09-01 10:41:53 -07:00
qlcnic_hw.c qlcnic: mac vlan learning support 2010-09-01 10:41:57 -07:00
qlcnic_init.c drivers/net: avoid some skb->ip_summed initializations 2010-09-02 19:06:22 -07:00
qlcnic_main.c qlcnic: mac vlan learning support 2010-09-01 10:41:57 -07:00