lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <39e6f6c70703112126s6dfe0226wcebdfd0800a76b3c@mail.gmail.com>
Date:	Mon, 12 Mar 2007 01:26:59 -0300
From:	"Arnaldo Carvalho de Melo" <acme@...stprotocols.net>
To:	"David Miller" <davem@...emloft.net>
Cc:	"Netdev List" <netdev@...r.kernel.org>
Subject: [PATCH 05/18][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@...hat.com>
---
 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(-)

View attachment "0005-SK_BUFF-Use-skb_reset_network_header-in-skb_push.patch" of type "text/x-patch" (8497 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ