Patch "net/iucv: Free memory obtained by kzalloc" has been added to the 4.14-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
net/iucv: Free memory obtained by kzalloc
to the 4.14-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-iucv-free-memory-obtained-by-kzalloc.patch
and it can be found in the queue-4.14 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 Wed Mar 28 18:38:30 CEST 2018
From: Arvind Yadav <[email protected]>
Date: Tue, 13 Mar 2018 16:50:06 +0100
Subject: net/iucv: Free memory obtained by kzalloc
From: Arvind Yadav <[email protected]>
[ Upstream commit fa6a91e9b907231d2e38ea5ed89c537b3525df3d ]
Free memory by calling put_device(), if afiucv_iucv_init is not successful.
--- net/iucv/af_iucv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
net/iucv/af_iucv.c +3 -1
@@ -2433,9 +2433,11 @@ static int afiucv_iucv_init(void) af_iucv_dev->driver = &af_iucv_driver; err =device_register (af_iucv_dev);if (err) - goto out_driver; + goto out_iucv_dev;return 0 ; +out_iucv_dev: +put_device (af_iucv_dev); out_driver:driver_unregister (&af_iucv_driver); out_iucv:
Patches currently in stable-queue which might be from [email protected] are
queue-4.14/net-iucv-free-memory-obtained-by-kzalloc.patch