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]
Date:	Fri, 16 Mar 2007 17:54:21 -0300
From:	"Arnaldo Carvalho de Melo" <acme@...stprotocols.net>
To:	"David Miller" <davem@...emloft.net>
Cc:	"Netdev List" <netdev@...r.kernel.org>
Subject: [PATCH 2/4] [SK_BUFF]: Introduce skb_network_header_len

For the common sequence "skb->h.raw - skb->nh.raw", similar to skb->mac_len,
that is precalculated tho, don't think we need to bloat skb with one more
member, so just use this new helper, reducing the number of non-skbuff.h
references to the layer headers even more.

Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
 drivers/net/gianfar.c                   |    2 +-
 drivers/net/pasemi_mac.c                |    4 ++--
 include/linux/skbuff.h                  |    5 +++++
 net/core/skbuff.c                       |    2 +-
 net/ipv4/ip_output.c                    |    2 +-
 net/ipv6/esp6.c                         |    3 +--
 net/ipv6/exthdrs.c                      |    8 ++++----
 net/ipv6/ip6_input.c                    |    2 +-
 net/ipv6/ip6_output.c                   |    4 ++--
 net/ipv6/mcast.c                        |    2 +-
 net/ipv6/netfilter/nf_conntrack_reasm.c |    2 +-
 net/ipv6/raw.c                          |    2 +-
 net/ipv6/reassembly.c                   |    8 +++++---
 net/ipv6/xfrm6_policy.c                 |    2 +-
 14 files changed, 27 insertions(+), 21 deletions(-)

View attachment "0002-SK_BUFF-Introduce-skb_network_header_len.patch" of type "text/x-patch" (10584 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ