Files
kernel_google_b1c1/include/linux
Simon Horman 7cc4619005 net, ipv4, ipv6: Correct assignment of skb->network_header to skb->tail
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 however skb->network_header is now
an offset.

This patch corrects the problem by adding a wrapper to return skb tail as
an offset regardless of the value of NET_SKBUFF_DATA_USES_OFFSET. It seems
that skb->tail that this offset may be more than 64k and some care has been
taken to treat such cases as an error.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-28 23:49:07 -07:00
..
2013-05-17 14:31:05 -04:00
2013-05-07 19:46:02 -07:00
2013-05-07 20:16:25 -07:00
2013-05-10 14:37:17 +01:00
2013-05-07 18:38:27 -07:00
2013-05-07 02:16:31 -04:00
2013-05-06 13:07:33 +02:00
2013-05-04 14:47:26 -04:00
2013-05-07 18:38:28 -07:00