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:	Sat, 10 Mar 2007 13:46:12 -0300
From:	"Arnaldo Carvalho de Melo" <acme@...stprotocols.net>
To:	"David Miller" <davem@...emloft.net>
Cc:	"Netdev List" <netdev@...r.kernel.org>
Subject: [PATCH 04/11] [SK_BUFF]: Introduce skb_reset_mac_header(skb)

For the common, open coded 'skb->mac.raw = skb->data' operation, so that we can
later turn skb->mac.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 case, next will handle the slightly more
"complex" cases.

Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
 arch/um/drivers/net_kern.c                    |    2 +-
 arch/xtensa/platform-iss/network.c            |    2 +-
 drivers/block/aoe/aoecmd.c                    |    3 ++-
 drivers/ieee1394/eth1394.c                    |    2 +-
 drivers/infiniband/ulp/ipoib/ipoib_cm.c       |    2 +-
 drivers/infiniband/ulp/ipoib/ipoib_ib.c       |    2 +-
 drivers/isdn/i4l/isdn_net.c                   |    4 ++--
 drivers/isdn/i4l/isdn_ppp.c                   |    2 +-
 drivers/message/fusion/mptlan.c               |    4 ++--
 drivers/net/appletalk/cops.c                  |    2 +-
 drivers/net/appletalk/ltpc.c                  |    2 +-
 drivers/net/arcnet/arc-rawmode.c              |    2 +-
 drivers/net/arcnet/capmode.c                  |   11 ++++-------
 drivers/net/arcnet/rfc1051.c                  |    2 +-
 drivers/net/arcnet/rfc1201.c                  |    2 +-
 drivers/net/bonding/bond_3ad.c                |    4 ++--
 drivers/net/bonding/bond_alb.c                |    4 ++--
 drivers/net/cxgb3/cxgb3_offload.c             |    2 +-
 drivers/net/cxgb3/sge.c                       |    3 ++-
 drivers/net/irda/ali-ircc.c                   |    2 +-
 drivers/net/irda/au1k_ir.c                    |    2 +-
 drivers/net/irda/donauboe.c                   |    2 +-
 drivers/net/irda/irda-usb.c                   |    2 +-
 drivers/net/irda/mcs7780.c                    |    4 ++--
 drivers/net/irda/nsc-ircc.c                   |    2 +-
 drivers/net/irda/pxaficp_ir.c                 |    2 +-
 drivers/net/irda/sa1100_ir.c                  |    2 +-
 drivers/net/irda/smsc-ircc2.c                 |    2 +-
 drivers/net/irda/stir4200.c                   |    2 +-
 drivers/net/irda/via-ircc.c                   |    8 ++++----
 drivers/net/irda/vlsi_ir.c                    |    2 +-
 drivers/net/irda/w83977af_ir.c                |    2 +-
 drivers/net/myri_sbus.c                       |    2 +-
 drivers/net/ppp_generic.c                     |    2 +-
 drivers/net/sb1000.c                          |    2 +-
 drivers/net/tun.c                             |    2 +-
 drivers/net/wan/cosa.c                        |    2 +-
 drivers/net/wan/cycx_x25.c                    |    2 +-
 drivers/net/wan/dlci.c                        |    2 +-
 drivers/net/wan/farsync.c                     |    2 +-
 drivers/net/wan/lmc/lmc_main.c                |    4 ++--
 drivers/net/wan/pc300_drv.c                   |    2 +-
 drivers/net/wan/pc300_tty.c                   |    2 +-
 drivers/net/wireless/airo.c                   |    4 ++--
 drivers/net/wireless/hostap/hostap_80211_rx.c |    7 ++++---
 drivers/net/wireless/hostap/hostap_80211_tx.c |    2 +-
 drivers/net/wireless/hostap/hostap_ap.c       |    3 ++-
 drivers/net/wireless/hostap/hostap_hw.c       |    2 +-
 drivers/net/wireless/hostap/hostap_main.c     |    3 ++-
 drivers/net/wireless/ipw2200.c                |    2 +-
 drivers/net/wireless/orinoco.c                |    2 +-
 drivers/net/wireless/prism54/islpci_eth.c     |    2 +-
 drivers/net/wireless/strip.c                  |    2 +-
 drivers/s390/net/ctcmain.c                    |    4 ++--
 drivers/s390/net/netiucv.c                    |    4 ++--
 drivers/s390/net/qeth_eddp.c                  |    2 +-
 drivers/s390/net/qeth_main.c                  |    4 ++--
 include/linux/hdlc.h                          |    4 ++--
 include/linux/skbuff.h                        |    5 +++++
 include/net/ax25.h                            |    2 +-
 include/net/x25device.h                       |    2 +-
 net/802/fddi.c                                |    2 +-
 net/802/hippi.c                               |    2 +-
 net/802/tr.c                                  |    2 +-
 net/atm/br2684.c                              |    2 +-
 net/atm/clip.c                                |    2 +-
 net/ax25/ax25_in.c                            |    2 +-
 net/bluetooth/bnep/core.c                     |    2 +-
 net/bridge/br_device.c                        |    2 +-
 net/core/dev.c                                |    4 ++--
 net/core/netpoll.c                            |    2 +-
 net/core/skbuff.c                             |    2 +-
 net/decnet/dn_route.c                         |    2 +-
 net/ethernet/eth.c                            |    2 +-
 net/ieee80211/ieee80211_rx.c                  |    7 ++++---
 net/ipv4/ip_gre.c                             |    2 +-
 net/ipv4/ip_output.c                          |    2 +-
 net/ipv4/route.c                              |    3 ++-
 net/ipv6/ip6_output.c                         |    2 +-
 net/ipv6/route.c                              |    2 +-
 net/irda/irlap_frame.c                        |    3 ++-
 net/irda/wrapper.c                            |    2 +-
 net/llc/llc_output.c                          |    2 +-
 net/netrom/nr_dev.c                           |    2 +-
 net/wanrouter/wanmain.c                       |    2 +-
 85 files changed, 119 insertions(+), 109 deletions(-)

View attachment "0004-SK_BUFF-Introduce-skb_reset_mac_header-skb.patch" of type "text/x-patch" (51050 bytes)

Powered by blists - more mailing lists