net: eth: altera: fix napi poll_list corruption
commitca41797a868fee22aab7d1bb3cbccb985172c65c
authorAtsushi Nemoto <nemoto@toshiba-tops.co.jp>
Wed, 2 Sep 2015 08:49:29 +0000 (2 17:49 +0900)
committerSasha Levin <sasha.levin@oracle.com>
Tue, 27 Oct 2015 13:33:10 +0000 (27 09:33 -0400)
tree911e88e39964cc09c2f1ee15dcf7bb301b646bff
parent826d518a0241a4f9fe960673b9047f44f165218a
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: Sasha Levin <sasha.levin@oracle.com>
drivers/net/ethernet/altera/altera_tse_main.c