r8152: avoid start_xmit to schedule napi when napi is disabled
commit70752628521df94b45ed24287fdf216f9b587681
authorhayeswang <hayeswang@realtek.com>
Thu, 26 Jan 2017 01:38:32 +0000 (26 09:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jun 2017 04:39:38 +0000 (17 06:39 +0200)
tree0871c6f0a9d204dec79afe509cc17c0707eae0c8
parent5270bf63719c2c5e3a3d715ac78d394baea899d9
r8152: avoid start_xmit to schedule napi when napi is disabled

[ Upstream commit de9bf29dd6e4a8a874cb92f8901aed50a9d0b1d3 ]

Stop the tx when the napi is disabled to prevent napi_schedule() is
called.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/r8152.c