Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] IPoIB: fix memory leak

Fix IPoIB memory leak on device removal.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

authored by

Michael S. Tsirkin and committed by
Roland Dreier
06c56e44 4706df3d

+2
+2
drivers/infiniband/ulp/ipoib/ipoib_main.c
··· 1062 1062 ipoib_dev_cleanup(priv->dev); 1063 1063 free_netdev(priv->dev); 1064 1064 } 1065 + 1066 + kfree(dev_list); 1065 1067 } 1066 1068 1067 1069 static int __init ipoib_init_module(void)