linux_dsm_epyc7002/drivers/net/qlge
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
qlge_dbg.c drivers/net/qlge: Use pr_<level>, shrink text a bit 2010-07-21 14:44:18 -07:00
qlge_ethtool.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
qlge_main.c drivers/net: avoid some skb->ip_summed initializations 2010-09-02 19:06:22 -07:00
qlge_mpi.c qlge: Don't use firmware when forcing firmware dump. 2010-07-05 19:41:20 -07:00
qlge.h drivers/net/qlge: Use pr_<level>, shrink text a bit 2010-07-21 14:44:18 -07:00