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. Cc: Simon Horman <horms@verge.net.au> Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Reviewed-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
cxgb4.h | ||
cxgb4_main.c | ||
cxgb4_uld.h | ||
l2t.c | ||
l2t.h | ||
Makefile | ||
sge.c | ||
t4_hw.c | ||
t4_hw.h | ||
t4_msg.h | ||
t4_regs.h | ||
t4fw_api.h |