DORMANTno replies

[PATCH 05/18][SK_BUFF]: Use skb_reset_network_header in skb_push cases

From: Arnaldo Carvalho de Melo <hidden>
Date: 2007-03-12 04:27:02

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 <redacted>
---
 net/core/netpoll.c              |    4 +++-
 net/ipv4/ip_gre.c               |    3 ++-
 net/ipv4/ip_output.c            |    3 ++-
 net/ipv4/ipip.c                 |    3 ++-
 net/ipv4/ipmr.c                 |    3 ++-
 net/ipv4/ipvs/ip_vs_xmit.c      |    3 ++-
 net/ipv4/xfrm4_mode_beet.c      |    3 ++-
 net/ipv4/xfrm4_mode_transport.c |    4 +++-
 net/ipv4/xfrm4_mode_tunnel.c    |    3 ++-
 net/ipv6/ip6_output.c           |   14 ++++++++++----
 net/ipv6/ip6_tunnel.c           |    3 ++-
 net/ipv6/sit.c                  |    3 ++-
 12 files changed, 34 insertions(+), 15 deletions(-)

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help