]> err.no Git - linux-2.6/commit
[SK_BUFF]: Introduce skb_reset_network_header(skb)
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 11 Apr 2007 03:45:18 +0000 (20:45 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:24:46 +0000 (22:24 -0700)
commitc1d2bbe1cd6c7bbdc6d532cefebb66c7efb789ce
tree03a715961ba576a11cbc0e91c5d465e4c4d95d82
parent57effc70a5be9f7804e9a99964eb7265367effca
[SK_BUFF]: Introduce skb_reset_network_header(skb)

For the common, open coded 'skb->nh.raw = skb->data' operation, so that we can
later turn skb->nh.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@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
47 files changed:
drivers/block/aoe/aoecmd.c
drivers/net/cxgb3/sge.c
drivers/net/hamradio/bpqether.c
drivers/net/loopback.c
drivers/net/pppoe.c
drivers/net/wan/hdlc_cisco.c
drivers/net/wan/hdlc_fr.c
drivers/net/wan/lmc/lmc_main.c
drivers/net/wireless/hostap/hostap_80211_rx.c
drivers/net/wireless/hostap/hostap_ap.c
drivers/net/wireless/hostap/hostap_main.c
include/linux/skbuff.h
include/net/llc_pdu.h
net/appletalk/aarp.c
net/atm/mpc.c
net/ax25/af_ax25.c
net/ax25/ax25_ds_subr.c
net/ax25/ax25_in.c
net/ax25/ax25_ip.c
net/ax25/ax25_out.c
net/ax25/ax25_subr.c
net/core/dev.c
net/core/netpoll.c
net/decnet/dn_dev.c
net/decnet/dn_neigh.c
net/decnet/dn_route.c
net/econet/af_econet.c
net/ieee80211/ieee80211_rx.c
net/ipv4/arp.c
net/ipv4/ip_gre.c
net/ipv4/ip_output.c
net/ipv4/ipip.c
net/ipv4/route.c
net/ipv4/xfrm4_mode_tunnel.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c
net/ipv6/xfrm6_mode_beet.c
net/ipv6/xfrm6_mode_tunnel.c
net/ipv6/xfrm6_output.c
net/irda/irlap_frame.c
net/iucv/af_iucv.c
net/llc/llc_sap.c
net/netrom/nr_dev.c
net/packet/af_packet.c
net/tipc/eth_media.c
net/x25/x25_dev.c