summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/chelsio/cxgb3
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2013-05-28 20:34:23 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-05-29 06:49:06 (GMT)
commit25b6e14881e7861bb720a4624dcaf5f37854fc70 (patch)
tree8cd7aabe39f00ebf33ffd0abe1785cb84d28b4c0 /drivers/net/ethernet/chelsio/cxgb3
parent75538c2b85cf22eb9af6adfaf26ed7219025adeb (diff)
downloadlinux-fsl-qoriq-25b6e14881e7861bb720a4624dcaf5f37854fc70.tar.xz
isdn: Correct comparison of 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 the comparison is always between pointers. Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb3')
0 files changed, 0 insertions, 0 deletions