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  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:	Tue, 13 Mar 2007 18:45:45 -0300
From:	"Arnaldo Carvalho de Melo" <acme@...stprotocols.net>
To:	"David Miller" <davem@...emloft.net>
Cc:	"Netdev List" <netdev@...r.kernel.org>
Subject: [PATCH 01/15] [SK_BUFF]: Introduce skb_reset_transport_header(skb)

For the common, open coded 'skb->h.raw = skb->data' operation, so that we can
later turn skb->h.raw into a offset, reducing the size of struct sk_buff in
64bit land while possibly keeping it as a pointer on 32bit.

This one touches just the most simple cases:

skb->h.raw = skb->data;
skb->h.raw = {skb_push|[__]skb_pull}()

The next ones will handle the slightly more "complex" cases.

Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
 drivers/infiniband/hw/cxgb3/iwch_cm.c   |    6 +++---
 drivers/net/appletalk/cops.c            |    2 +-
 drivers/net/appletalk/ltpc.c            |    4 ++--
 drivers/net/cxgb3/sge.c                 |    2 +-
 include/linux/dccp.h                    |    6 +++---
 include/linux/skbuff.h                  |    5 +++++
 net/appletalk/aarp.c                    |    6 +++---
 net/appletalk/ddp.c                     |    4 ++--
 net/ax25/af_ax25.c                      |    4 ++--
 net/ax25/ax25_in.c                      |    8 ++++----
 net/bluetooth/af_bluetooth.c            |    2 +-
 net/bluetooth/hci_core.c                |    9 +++++----
 net/bluetooth/hci_sock.c                |    2 +-
 net/core/dev.c                          |    2 +-
 net/core/netpoll.c                      |    2 +-
 net/decnet/dn_nsp_in.c                  |    2 +-
 net/decnet/dn_nsp_out.c                 |    2 +-
 net/decnet/dn_route.c                   |    4 ++--
 net/ipv4/af_inet.c                      |    6 ++++--
 net/ipv4/ah4.c                          |    3 ++-
 net/ipv4/ip_input.c                     |    2 +-
 net/ipv4/ip_output.c                    |    2 +-
 net/ipv4/ipmr.c                         |    2 +-
 net/ipv4/udp.c                          |    3 ++-
 net/ipv4/xfrm4_mode_transport.c         |    2 +-
 net/ipv6/ip6_input.c                    |    2 +-
 net/ipv6/ip6_output.c                   |    8 ++++----
 net/ipv6/ipv6_sockglue.c                |    4 ++--
 net/ipv6/netfilter/nf_conntrack_reasm.c |    2 +-
 net/ipv6/reassembly.c                   |    2 +-
 net/ipv6/xfrm6_mode_transport.c         |    2 +-
 net/ipx/af_ipx.c                        |    2 +-
 net/ipx/ipx_route.c                     |    2 +-
 net/irda/af_irda.c                      |    4 ++--
 net/irda/irlap_frame.c                  |    2 +-
 net/iucv/af_iucv.c                      |    2 +-
 net/key/af_key.c                        |    2 +-
 net/llc/llc_sap.c                       |    2 +-
 net/netlink/af_netlink.c                |    2 +-
 net/netrom/af_netrom.c                  |    6 +++---
 net/netrom/nr_in.c                      |    2 +-
 net/netrom/nr_loopback.c                |    2 +-
 net/rose/af_rose.c                      |    2 +-
 net/rose/rose_loopback.c                |    2 +-
 net/rose/rose_route.c                   |    2 +-
 net/unix/af_unix.c                      |    2 +-
 net/x25/af_x25.c                        |    3 +--
 net/x25/x25_dev.c                       |    2 +-
 net/x25/x25_in.c                        |    2 +-
 49 files changed, 82 insertions(+), 73 deletions(-)

View attachment "0001-SK_BUFF-Introduce-skb_reset_transport_header-skb.patch" of type "text/x-patch" (31138 bytes)

Powered by blists - more mailing lists