From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:42871 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752256AbbI3Dct (ORCPT ); Tue, 29 Sep 2015 23:32:49 -0400 Subject: Patch "net: eth: altera: fix napi poll_list corruption" has been added to the 4.2-stable tree To: nemoto@toshiba-tops.co.jp, davem@davemloft.net, gregkh@linuxfoundation.org Cc: , From: Date: Wed, 30 Sep 2015 05:32:03 +0200 Message-ID: <144358392331141@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled net: eth: altera: fix napi poll_list corruption to the 4.2-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: net-eth-altera-fix-napi-poll_list-corruption.patch and it can be found in the queue-4.2 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From foo@baz Wed Sep 30 05:25:07 CEST 2015 From: Atsushi Nemoto Date: Wed, 2 Sep 2015 17:49:29 +0900 Subject: net: eth: altera: fix napi poll_list corruption From: Atsushi Nemoto [ 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 Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/altera/altera_tse_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/net/ethernet/altera/altera_tse_main.c +++ b/drivers/net/ethernet/altera/altera_tse_main.c @@ -511,8 +511,7 @@ static int tse_poll(struct napi_struct * if (rxcomplete < budget) { - napi_gro_flush(napi, false); - __napi_complete(napi); + napi_complete(napi); netdev_dbg(priv->dev, "NAPI Complete, did %d packets with budget %d\n", Patches currently in stable-queue which might be from nemoto@toshiba-tops.co.jp are queue-4.2/net-eth-altera-fix-napi-poll_list-corruption.patch