summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorBryan Whitehead <Bryan.Whitehead@microchip.com>2018-11-26 12:04:57 -0500
committerDavid S. Miller <davem@davemloft.net>2018-11-27 16:29:24 -0800
commitcc5922054131f9abefdc0622ae64fc55e6b2671d (patch)
treedc9375e8b4961a9a8855faf1146bc4c72b8ff4bd /net
parent4b5adba07c945e191ac2ecd83627dd520dca152f (diff)
downloadlinux-cc5922054131f9abefdc0622ae64fc55e6b2671d.tar.bz2
lan743x: fix return value for lan743x_tx_napi_poll
The lan743x driver, when under heavy traffic load, has been noticed to sometimes hang, or cause a kernel panic. Debugging reveals that the TX napi poll routine was returning the wrong value, 'weight'. Most other drivers return 0. And call napi_complete, instead of napi_complete_done. Additionally when creating the tx napi poll routine. Changed netif_napi_add, to netif_tx_napi_add. Updates for v3: changed 'fixes' tag to match defined format Updates for v2: use napi_complete, instead of napi_complete_done in lan743x_tx_napi_poll use netif_tx_napi_add, instead of netif_napi_add for registration of tx napi poll routine fixes: 23f0703c125b ("lan743x: Add main source files for new lan743x driver") Signed-off-by: Bryan Whitehead <Bryan.Whitehead@microchip.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions