Skip to contentSkip to conversation

Patch "net: s390: fix up for "Fix inconsistent teardown and release of private netdev state"" has been added to the 4.11-stable tree

PATCH [email protected] 1 participant 1 message Jun 29, 2017

Subsystems (5)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

net: s390: fix up for "Fix inconsistent teardown and release of private netdev state"

to the 4.11-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-s390-fix-up-for-fix-inconsistent-teardown-and-release-of-private-netdev-state.patch
and it can be found in the queue-4.11 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 foo@baz Thu Jun 29 18:58:00 CEST 2017

From: Stephen Rothwell <[email protected]>
Date: Thu, 8 Jun 2017 19:06:29 +1000
Subject: net: s390: fix up for "Fix inconsistent teardown and release of private netdev state"

From: Stephen Rothwell <[email protected]>

[ Upstream commit cd1997f6c11483da819a7719aa013093b8003743 ]

---
 drivers/s390/net/netiucv.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/s390/net/netiucv.c +2 -2
@@ -1954,7 +1954,6 @@ static void netiucv_free_netdevice(struc
 		privptr->conn = NULL; privptr->fsm = NULL;
 		/* privptr gets freed by free_netdev() */
 	}
-	free_netdev(dev);
 }
 
 /**
@@ -1972,7 +1971,8 @@ static void netiucv_setup_netdevice(stru
 	dev->mtu	         = NETIUCV_MTU_DEFAULT;
 	dev->min_mtu		 = 576;
 	dev->max_mtu		 = NETIUCV_MTU_MAX;
-	dev->destructor          = netiucv_free_netdevice;
+	dev->needs_free_netdev   = true;
+	dev->priv_destructor     = netiucv_free_netdevice;
 	dev->hard_header_len     = NETIUCV_HDRLEN;
 	dev->addr_len            = 0;
 	dev->type                = ARPHRD_SLIP;

Patches currently in stable-queue which might be from [email protected] are

queue-4.11/net-s390-fix-up-for-fix-inconsistent-teardown-and-release-of-private-netdev-state.patch