net: Fix drivers advertising HW_CSUM feature to use csum_start
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 14 Dec 2010 15:24:08 +0000 (15:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2010 22:43:15 +0000 (14:43 -0800)
commit0d0b16727f24f8258eeb33818347ca0f4557f982
treee89fec837700b02aff0d08de1c5cbae3ff5060a8
parent55508d601dab7df5cbcc7a63f4be8620eface204
net: Fix drivers advertising HW_CSUM feature to use csum_start

Some drivers are using skb_transport_offset(skb) instead of skb->csum_start
for NETIF_F_HW_CSUM offload.  This does not matter now, but if someone
implements checksumming of encapsulated packets then this will break silently.

TSO output paths are left as they are, since they are for IP+TCP only
(might be worth converting though).

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
14 files changed:
drivers/net/atl1c/atl1c_main.c
drivers/net/atl1e/atl1e_main.c
drivers/net/cassini.c
drivers/net/e1000/e1000_main.c
drivers/net/e1000e/netdev.c
drivers/net/enic/enic_main.c
drivers/net/ixgb/ixgb_main.c
drivers/net/ll_temac_main.c
drivers/net/myri10ge/myri10ge.c
drivers/net/niu.c
drivers/net/skge.c
drivers/net/sungem.c
drivers/net/sunhme.c
drivers/net/vmxnet3/vmxnet3_drv.c