summaryrefslogtreecommitdiff
path: root/net/ipv6/mip6.c
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2013-05-29 00:34:25 +0400
committerDavid S. Miller <davem@davemloft.net>2013-05-29 10:49:07 +0400
commitced14f6804a979d1972415bc23f2f8ddb18595dd (patch)
tree4a1acce32c9d4dd88afaba37841461bb36be9c4d /net/ipv6/mip6.c
parentbe8b678c6c63010cd2b0f4f602bd3066f7827fb2 (diff)
downloadlinux-ced14f6804a979d1972415bc23f2f8ddb18595dd.tar.xz
net: Correct comparisons and calculations using skb->tail and skb-transport_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->transport_header will be an offset from head. This is corrected by using wrappers that ensure that comparisons and calculations are always made using pointers. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/mip6.c')
0 files changed, 0 insertions, 0 deletions