linux-kernel-test/drivers/net/bnx2x
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
..
bnx2x_cmn.c drivers/net: avoid some skb->ip_summed initializations 2010-09-02 19:06:22 -07:00
bnx2x_cmn.h bnx2x: Load firmware in open() instead of probe() 2010-08-16 21:06:18 -07:00
bnx2x_dump.h
bnx2x_ethtool.c
bnx2x_fw_defs.h
bnx2x_fw_file_hdr.h
bnx2x_hsi.h
bnx2x_init_ops.h
bnx2x_init.h
bnx2x_link.c bnx2x: Change BCM848xx LED configuration 2010-09-01 10:44:34 -07:00
bnx2x_link.h
bnx2x_main.c bnx2x: Add BCM84823 to the supported PHYs 2010-09-01 10:44:34 -07:00
bnx2x_reg.h bnx2x: Change BCM848xx configuration according to IEEE 2010-09-01 10:44:33 -07:00
bnx2x_stats.c bnx2x: small fix in stats handling 2010-08-25 16:29:21 -07:00
bnx2x_stats.h
bnx2x.h bnx2x: Update version to 1.52.53-5 2010-09-01 10:44:35 -07:00
Makefile