OpenCloudOS-Kernel/drivers/net/ethernet/chelsio/cxgb3
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
..
Makefile
adapter.h
ael1002.c
aq100x.c
common.h ethernet: Convert dev_printk(KERN_<LEVEL> to dev_<level>( 2012-10-31 14:02:45 -04:00
cxgb3_ctl_defs.h
cxgb3_defs.h
cxgb3_ioctl.h
cxgb3_main.c net: vlan: rename NETIF_F_HW_VLAN_* feature flags to NETIF_F_HW_VLAN_CTAG_* 2013-04-19 14:45:26 -04:00
cxgb3_offload.c cxgb3: Fix warning about using rcu_dereference when not in a rcu-locked section 2013-05-23 00:03:54 -07:00
cxgb3_offload.h
firmware_exports.h
l2t.c cxgb3: Convert t3_l2t_get() over to dst_neigh_lookup(). 2012-07-05 02:29:40 -07:00
l2t.h cxgb3: Convert t3_l2t_get() over to dst_neigh_lookup(). 2012-07-05 02:29:40 -07:00
mc5.c
regs.h
sge.c cxgb3: Correct comparisons and calculations using skb->tail and skb-transport_header 2013-06-04 17:37:59 -07:00
sge_defs.h
t3_cpl.h
t3_hw.c remove init of dev->perm_addr in drivers 2013-01-08 18:00:48 -08:00
t3cdev.h
version.h cxgb3: update firmware version 2012-02-15 15:48:19 -05:00
vsc8211.c
xgmac.c