summaryrefslogtreecommitdiff
path: root/net/sched/act_csum.c
diff options
context:
space:
mode:
authorFeng Tang <feng.tang@intel.com>2016-06-24 15:26:05 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-07-11 09:31:12 -0700
commit999e0d18786192faf8240a5048dd1a08cf5d4bd0 (patch)
tree08d6a44c00e4ca55c5a83c735ca724ee64e9f1ab /net/sched/act_csum.c
parent779fb6074843a685c241874a5b308fd56cbdb35f (diff)
net: alx: Work around the DMA RX overflow issue
[ Upstream commit 881d0327db37ad917a367c77aff1afa1ee41e0a9 ] Note: This is a verified backported patch for stable 4.4 kernel, and it could also be applied to 4.3/4.2/4.1/3.18/3.16 There is a problem with alx devices, that the network link will be lost in 1-5 minutes after the device is up. >From debugging without datasheet, we found the error always happen when the DMA RX address is set to 0x....fc0, which is very likely to be a HW/silicon problem. This patch will apply rx skb with 64 bytes longer space, and if the allocated skb has a 0x...fc0 address, it will use skb_resever(skb, 64) to advance the address, so that the RX overflow can be avoided. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=70761 Signed-off-by: Feng Tang <feng.tang@intel.com> Suggested-by: Eric Dumazet <edumazet@google.com> Tested-by: Ole Lukoie <olelukoie@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sched/act_csum.c')
0 files changed, 0 insertions, 0 deletions