]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ib/ipoib: getout whenever failed to load port.
authorErez Shitrit <erezsh@mellanox.com>
Mon, 28 Jan 2013 14:43:06 +0000 (16:43 +0200)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 7 Jul 2015 21:45:07 +0000 (14:45 -0700)
commita97f2277c62975f84d1b13a32bdc34ac622190f2
treecf8841de7af999588f7e59725aaa771b8723ae47
parentef5ca883fe4a64f9c8e1b48f7dee137f0bc1a7c7
ib/ipoib: getout whenever failed to load port.

whenever add_one failed to load one of the port, call remove one
after that, otherwise it ends with panic, (many resources are
for all the ports and some actions will be aken over both of them
without considering that one of them failed to load)

Signed-off-by: Erez Shitrit <erezsh@mellanox.com>
(Ported from Mellanox OFED 2.4)

Signed-off-by: Mukesh Kacker <mukesh.kacker@oracle.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c