net: Use skb_checksum_start_offset()
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:14 +0000 (14:43 -0800)
commit55508d601dab7df5cbcc7a63f4be8620eface204
tree346f30fae9c726d2e73aba2e37ce1e4a31dcea8c
parent04fb451eff978ca059399eab83d5594b073caf6f
net: Use skb_checksum_start_offset()

Replace skb->csum_start - skb_headroom(skb) with skb_checksum_start_offset().

Note for usb/smsc95xx: skb->data - skb->head == skb_headroom(skb).

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atlx/atl1.c
drivers/net/macvtap.c
drivers/net/tun.c
drivers/net/usb/smsc95xx.c
drivers/net/virtio_net.c
net/core/dev.c
net/core/skbuff.c
net/ipv4/udp.c
net/packet/af_packet.c