linux-hardened/drivers/net/ethernet/chelsio/cxgb4
Li RongQing 15dd16c233 cxgb3: 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.

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>
2013-06-04 17:37:59 -07:00
..
cxgb4.h cxgb4: Force uninitialized state if FW_ON_ADAPTER is < FW_VERSION and we're the MASTER_PF 2013-05-31 17:25:43 -07:00
cxgb4_main.c cxgb4: Force uninitialized state if FW_ON_ADAPTER is < FW_VERSION and we're the MASTER_PF 2013-05-31 17:25:43 -07:00
cxgb4_uld.h RDMA/cxgb4: Turn off db coalescing when RDMA QPs are in use. 2013-03-14 11:35:58 -04:00
l2t.c cxgb4: Add T4 filter support 2012-12-19 09:28:19 -08:00
l2t.h cxgb4: Add T4 filter support 2012-12-19 09:28:19 -08:00
Makefile
sge.c cxgb3: Correct comparisons and calculations using skb->tail and skb-transport_header 2013-06-04 17:37:59 -07:00
t4_hw.c cxgb4: Force uninitialized state if FW_ON_ADAPTER is < FW_VERSION and we're the MASTER_PF 2013-05-31 17:25:43 -07:00
t4_hw.h cxgb4: Initialize T5 2013-03-14 11:35:53 -04:00
t4_msg.h cxgb4vf: Support CPL_SGE_EGR_UPDATEs encapsulated in a CPL_FW4_MSG 2013-04-29 15:24:44 -04:00
t4_regs.h RDMA/cxgb4: Turn off db coalescing when RDMA QPs are in use. 2013-03-14 11:35:58 -04:00
t4fw_api.h cxgb4: Support CPL_SGE_EGR_UPDATEs encapsulated in a CPL_FW4_MSG 2013-04-29 15:24:44 -04:00