summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2013-05-28 20:34:24 +0000
committerDavid S. Miller <davem@davemloft.net>2013-05-28 23:49:07 -0700
commitbe8b678c6c63010cd2b0f4f602bd3066f7827fb2 (patch)
tree10ca86d4e1bb5209d2985c73c21faab3d0e21b9b /net/core
parent25b6e14881e7861bb720a4624dcaf5f37854fc70 (diff)
downloadlinux-stable-be8b678c6c63010cd2b0f4f602bd3066f7827fb2.tar.gz
linux-stable-be8b678c6c63010cd2b0f4f602bd3066f7827fb2.tar.bz2
linux-stable-be8b678c6c63010cd2b0f4f602bd3066f7827fb2.zip
cxgb3: 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/core')
0 files changed, 0 insertions, 0 deletions