net: eth: altera: fix napi poll_list corruption
commit8bb9225a7bd3a07aadd58b19a633f1f7a8884d01
authorAtsushi Nemoto <nemoto@toshiba-tops.co.jp>
Wed, 2 Sep 2015 08:49:29 +0000 (2 17:49 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Oct 2015 11:49:14 +0000 (3 13:49 +0200)
treec9a541747802c551fbee8ac482e67c47b80975ab
parent5e06748086650d178186181c2bfe2518bb959fd5
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