diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2007-08-06 18:09:09 +0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-08-07 23:40:56 +0400 |
commit | 6958e827f187c9c5cd39af075567f74f02bf3dd1 (patch) | |
tree | 705a1c3c2f1d3719e2b8bfbed80a0d4d8f7c11b4 /drivers/net/mlx4/reset.c | |
parent | 198919151dea65d83dd0fb66979b1df28402f2b0 (diff) | |
download | linux-6958e827f187c9c5cd39af075567f74f02bf3dd1.tar.xz |
IPoIB: Fix leak in ipoib_transport_dev_init() error path
ipoib_transport_dev_init() calls ipoib_cm_dev_init(), so it needs to
call ipoib_cm_dev_cleanup() to unwind that on the error path.
Found by Dotan Barak of Mellanox.
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/net/mlx4/reset.c')
0 files changed, 0 insertions, 0 deletions