From: Arnaldo Carvalho de Melo Date: Tue, 13 Mar 2007 16:06:52 +0000 (-0300) Subject: [SK_BUFF]: Introduce skb_reset_transport_header(skb) X-Git-Tag: v2.6.22-rc1~1128^2~322 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=badff6d01a8589a1c828b0bf118903ca38627f4e;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed