diff options
author | Simon Horman <horms@verge.net.au> | 2013-05-28 22:34:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-29 08:49:07 +0200 |
commit | 29a3cad5c6ae9e7fbf1509d01d39c3c3c38f11f9 (patch) | |
tree | fd6436d8a820801843ca257807c8af0f36425291 /net/ipv4/tcp.c | |
parent | net: Correct comparisons and calculations using skb->tail and skb-transport_h... (diff) | |
download | linux-29a3cad5c6ae9e7fbf1509d01d39c3c3c38f11f9.tar.xz linux-29a3cad5c6ae9e7fbf1509d01d39c3c3c38f11f9.zip |
ipv6: 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 '')
0 files changed, 0 insertions, 0 deletions