]> git.baikalelectronics.ru Git - kernel.git/commit
r8152: avoid start_xmit to schedule napi when napi is disabled
authorhayeswang <hayeswang@realtek.com>
Thu, 26 Jan 2017 01:38:32 +0000 (09:38 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jan 2017 03:47:30 +0000 (22:47 -0500)
commit9ca7a0663b4a533d7889100cb3fa8a49be21c6b4
treef9672f87f16db29405d37de69382425de9f8be35
parent804106922d4efd1e622d3e39d576463f543bdbda
r8152: avoid start_xmit to schedule napi when napi is disabled

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>
drivers/net/usb/r8152.c