[SK_BUFF]: Introduce skb_reset_transport_header(skb)
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 13 Mar 2007 16:06:52 +0000 (13:06 -0300)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:25:15 +0000 (22:25 -0700)
commitbadff6d01a8589a1c828b0bf118903ca38627f4e
tree89611d7058c612085c58dfb9913ee30ddf04b604
parent0660e03f6b18f19b6bbafe7583265a51b90daf36
[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@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
49 files changed:
drivers/infiniband/hw/cxgb3/iwch_cm.c
drivers/net/appletalk/cops.c
drivers/net/appletalk/ltpc.c
drivers/net/cxgb3/sge.c
include/linux/dccp.h
include/linux/skbuff.h
net/appletalk/aarp.c
net/appletalk/ddp.c
net/ax25/af_ax25.c
net/ax25/ax25_in.c
net/bluetooth/af_bluetooth.c
net/bluetooth/hci_core.c
net/bluetooth/hci_sock.c
net/core/dev.c
net/core/netpoll.c
net/decnet/dn_nsp_in.c
net/decnet/dn_nsp_out.c
net/decnet/dn_route.c
net/ipv4/af_inet.c
net/ipv4/ah4.c
net/ipv4/ip_input.c
net/ipv4/ip_output.c
net/ipv4/ipmr.c
net/ipv4/udp.c
net/ipv4/xfrm4_mode_transport.c
net/ipv6/ip6_input.c
net/ipv6/ip6_output.c
net/ipv6/ipv6_sockglue.c
net/ipv6/netfilter/nf_conntrack_reasm.c
net/ipv6/reassembly.c
net/ipv6/xfrm6_mode_transport.c
net/ipx/af_ipx.c
net/ipx/ipx_route.c
net/irda/af_irda.c
net/irda/irlap_frame.c
net/iucv/af_iucv.c
net/key/af_key.c
net/llc/llc_sap.c
net/netlink/af_netlink.c
net/netrom/af_netrom.c
net/netrom/nr_in.c
net/netrom/nr_loopback.c
net/rose/af_rose.c
net/rose/rose_loopback.c
net/rose/rose_route.c
net/unix/af_unix.c
net/x25/af_x25.c
net/x25/x25_dev.c
net/x25/x25_in.c