linux_dsm_epyc7002/drivers/net/cxgb4vf
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
..
adapter.h cxgb4vf: Add main T4 PCI-E SR-IOV Virtual Function driver for cxgb4vf 2010-06-28 23:59:36 -07:00
cxgb4vf_main.c cxgb4vf: do not use PCI resources before pci_enable_device() 2010-08-04 16:18:02 -07:00
Makefile cxgb4vf: Add new Makefile for T4 PCI-E SR-IOV Virtual Function driver cxgb4vf 2010-06-28 23:59:37 -07:00
sge.c drivers/net: avoid some skb->ip_summed initializations 2010-09-02 19:06:22 -07:00
t4vf_common.h cxgb4vf: Add core T4 PCI-E SR-IOV Virtual Function hardware definitions and device communication code 2010-06-28 23:59:35 -07:00
t4vf_defs.h cxgb4vf: Add core T4 PCI-E SR-IOV Virtual Function hardware definitions and device communication code 2010-06-28 23:59:35 -07:00
t4vf_hw.c cxgb4vf: Fix off-by-one error checking for the end of the mailbox delay array 2010-07-20 12:42:42 -07:00