IPoIB: Don't attempt to release resources on error flow
authorItai Garbi <igarbi@mellanox.com>
Tue, 19 Feb 2013 15:40:24 +0000 (15:40 +0000)
committerRoland Dreier <roland@purestorage.com>
Tue, 19 Feb 2013 16:21:36 +0000 (08:21 -0800)
If the ipoib client info isn't found on the _remove_one callback, we
must not attempt to scan the returned null list.  Found by Coverity.

Signed-off-by: Itai Garbi <igarbi@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found