From: Simon Horman Date: Tue, 28 May 2013 20:34:25 +0000 (+0000) Subject: net: Correct comparisons and calculations using skb->tail and skb-transport_header X-Git-Tag: v3.11-rc1~16^2~278 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ced14f6804a979d1972415bc23f2f8ddb18595dd;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed