]> asedeno.scripts.mit.edu Git - linux.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)
commitde9bf29dd6e4a8a874cb92f8901aed50a9d0b1d3
treef9672f87f16db29405d37de69382425de9f8be35
parent26afec39306926654e9cd320f19bbf3685bb0997
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