]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: eth: altera: fix napi poll_list corruption
authorAtsushi Nemoto <nemoto@toshiba-tops.co.jp>
Wed, 2 Sep 2015 08:49:29 +0000 (17:49 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Oct 2015 11:51:35 +0000 (13:51 +0200)
commitc8bf2008b31f0c522290b32a246e48a551001128
tree7d5dcf1d40cc40f6980b475d845b33144501550c
parent496e7b36b54f554a314bc218c4f02d51b81a2d81
net: eth: altera: fix napi poll_list corruption

[ Upstream commit 4548a697e4969d695047cebd6d9af5e2f6cc728e ]

tse_poll() calls __napi_complete() with irq enabled.  This leads napi
poll_list corruption and may stop all napi drivers working.
Use napi_complete() instead of __napi_complete().

Signed-off-by: Atsushi Nemoto <nemoto@toshiba-tops.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/altera/altera_tse_main.c