summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
diff options
context:
space:
mode:
authorNimrod Andy <B38611@freescale.com>2015-03-10 19:09:41 +0800
committerDavid S. Miller <davem@davemloft.net>2015-03-10 13:37:01 -0400
commitaf5cbc9822f6bbe399925760a4d5ee82c21f258c (patch)
tree1cd20c2124b92f9210a6d063f059633361122e87 /drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
parent5a3dba7a5fcc02b78d92c35e2ca53f21ae3402c9 (diff)
downloadlinux-af5cbc9822f6bbe399925760a4d5ee82c21f258c.tar.bz2
net: fec: fix receive VLAN CTAG HW acceleration issue
The current driver support receive VLAN CTAG HW acceleration feature (NETIF_F_HW_VLAN_CTAG_RX) through software simulation. There calls the api .skb_copy_to_linear_data_offset() to skip the VLAN tag, but there have overlap between the two memory data point range. The patch just fix the issue. V2: Michael Grzeschik suggest to use memmove() instead of skb_copy_to_linear_data_offset(). Reported-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Fixes: 1b7bde6d659d ("net: fec: implement rx_copybreak to improve rx performance") Signed-off-by: Fugang Duan <B38611@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/t4_hw.c')
0 files changed, 0 insertions, 0 deletions