[openib-general] [PATCH 45 of 53] ipath - fix memory leak when create of QP fails
Bryan O'Sullivan
bos at pathscale.com
Fri May 12 16:43:30 PDT 2006
Signed-off-by: Bryan O'Sullivan <bos at pathscale.com>
diff -r 28d938eb0463 -r b41e576e5202 drivers/infiniband/hw/ipath/ipath_init_chip.c
--- a/drivers/infiniband/hw/ipath/ipath_init_chip.c Fri May 12 15:55:29 2006 -0700
+++ b/drivers/infiniband/hw/ipath/ipath_init_chip.c Fri May 12 15:55:29 2006 -0700
@@ -114,6 +114,7 @@ static int create_port0_egr(struct ipath
"eager TID %u\n", e);
while (e != 0)
dev_kfree_skb(skbs[--e]);
+ vfree(skbs);
ret = -ENOMEM;
goto bail;
}
More information about the general
mailing list