[SK_BUFF]: Use skb_reset_network_header in skb_push cases
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Apr 2007 03:46:21 +0000 (20:46 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:24:47 +0000 (22:24 -0700)
commite2d1bca7e6134671bcb19810d004a252aa6a644d
tree5d8ee962cd69cd886aaedff8ac253590a985dd1c
parentc1d2bbe1cd6c7bbdc6d532cefebb66c7efb789ce
[SK_BUFF]: Use skb_reset_network_header in skb_push cases

skb_push updates and returns skb->data, so we can just call
skb_reset_network_header after the call to skb_push.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
net/core/netpoll.c
net/ipv4/ip_gre.c
net/ipv4/ip_output.c
net/ipv4/ipip.c
net/ipv4/ipmr.c
net/ipv4/ipvs/ip_vs_xmit.c
net/ipv4/xfrm4_mode_beet.c
net/ipv4/xfrm4_mode_transport.c
net/ipv4/xfrm4_mode_tunnel.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c