aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge
diff options
context:
space:
mode:
authorHayes Wang <hayeswang@realtek.com>2021-10-04 14:28:58 +0800
committerDavid S. Miller <davem@davemloft.net>2021-10-05 12:38:39 +0100
commitbaf33d7a75642b4b38a87fdf1cd96b506df4849f (patch)
treeec3390e05b3c113ad98f9a4f999bf5c28bba2210 /net/bridge
parentetherdevice: use __dev_addr_set() (diff)
downloadlinux-dev-baf33d7a75642b4b38a87fdf1cd96b506df4849f.tar.xz
linux-dev-baf33d7a75642b4b38a87fdf1cd96b506df4849f.zip
r8152: avoid to resubmit rx immediately
For the situation that the disconnect event comes very late when the device is unplugged, the driver would resubmit the RX bulk transfer after getting the callback with -EPROTO immediately and continually. Finally, soft lockup occurs. This patch avoids to resubmit RX immediately. It uses a workqueue to schedule the RX NAPI. And the NAPI would resubmit the RX. It let the disconnect event have opportunity to stop the submission before soft lockup. Reported-by: Jason-ch Chen <jason-ch.chen@mediatek.com> Tested-by: Jason-ch Chen <jason-ch.chen@mediatek.com> Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions