Patch "qeth: delete napi struct when removing a qeth device" has been added to the 4.6-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
qeth: delete napi struct when removing a qeth device
to the 4.6-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:
qeth-delete-napi-struct-when-removing-a-qeth-device.patch
and it can be found in the queue-4.6 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
7831b4ff0d926e0deeaabef9db8800ed069a2757Mon Sep 17 00:00:00 2001
From: Ursula Braun <[email protected]>
Date: Mon, 4 Jul 2016 14:07:16 +0200
Subject: qeth: delete napi struct when removing a qeth device
From: Ursula Braun <[email protected]>
commit 7831b4ff0d926e0deeaabef9db8800ed069a2757 upstream.
A qeth_card contains a napi_struct linked to the net_device during device probing. This struct must be deleted when removing the qeth device, otherwise Panic on oops can occur when qeth devices are repeatedly removed and added.
--- drivers/s390/net/qeth_l2_main.c | 1 + drivers/s390/net/qeth_l3_main.c | 1 + 2 files changed, 2 insertions(+)
drivers/s390/net/qeth_l2_main.c +1 -0
@@ -1051,6 +1051,7 @@ static void qeth_l2_remove_device(structqeth_l2_set_offline (cgdev);if (card->dev) { +netif_napi_del (&card->napi);unregister_netdev (card->dev); card->dev =NULL ; }
drivers/s390/net/qeth_l3_main.c +1 -0
@@ -3226,6 +3226,7 @@ static void qeth_l3_remove_device(structqeth_l3_set_offline (cgdev);if (card->dev) { +netif_napi_del (&card->napi);unregister_netdev (card->dev); card->dev =NULL ; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.6/qeth-delete-napi-struct-when-removing-a-qeth-device.patch