summaryrefslogtreecommitdiffstats
path: root/include/linux/skbuff.h
diff options
context:
space:
mode:
authorSimon Horman2013-05-30 18:39:29 +0200
committerDavid S. Miller2013-06-01 01:38:25 +0200
commit938177e9f3e0238c1712210f7bb6def38a5c8d7f (patch)
tree74a40a22f9090d7ac1dfcf96fda3486e41cc8eea /include/linux/skbuff.h
parentgro: should aggregate frames without DF (diff)
downloadkernel-qcow2-linux-938177e9f3e0238c1712210f7bb6def38a5c8d7f.tar.gz
kernel-qcow2-linux-938177e9f3e0238c1712210f7bb6def38a5c8d7f.tar.xz
kernel-qcow2-linux-938177e9f3e0238c1712210f7bb6def38a5c8d7f.zip
netfilter: Correct calculation using skb->tail and skb-network_header
This corrects an regression introduced by "net: Use 16bits for *_headers fields of struct skbuff" when NET_SKBUFF_DATA_USES_OFFSET is not set. In that case skb->tail will be a pointer whereas skb->network_header will be an offset from head. This is corrected by using wrappers that ensure that calculations are always made using pointers. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/skbuff.h')
0 files changed, 0 insertions, 0 deletions