projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4706df3
)
[PATCH] IPoIB: fix memory leak
author
Michael S. Tsirkin
<mst@mellanox.co.il>
Thu, 1 Sep 2005 16:19:02 +0000
(09:19 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Wed, 7 Sep 2005 16:48:52 +0000
(09:48 -0700)
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>
drivers/infiniband/ulp/ipoib/ipoib_main.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/ulp/ipoib/ipoib_main.c
b/drivers/infiniband/ulp/ipoib/ipoib_main.c
index 0e8ac138e355bd4c71e2c21f58a809eb7d0f190e..49d120d2b92c5308e5dda9fe802a4ae9667b26ac 100644
(file)
--- a/
drivers/infiniband/ulp/ipoib/ipoib_main.c
+++ b/
drivers/infiniband/ulp/ipoib/ipoib_main.c
@@
-1062,6
+1062,8
@@
static void ipoib_remove_one(struct ib_device *device)
ipoib_dev_cleanup(priv->dev);
free_netdev(priv->dev);
}
+
+ kfree(dev_list);
}
static int __init ipoib_init_module(void)