]> git.baikalelectronics.ru Git - kernel.git/commit
IB/ipoib: Remove device when one port fails to init
authorYuval Shaia <yuval.shaia@oracle.com>
Mon, 25 Sep 2017 12:18:00 +0000 (05:18 -0700)
committerDoug Ledford <dledford@redhat.com>
Wed, 27 Sep 2017 13:17:51 +0000 (09:17 -0400)
commit00810d167b1f9aa04b68f0d0e4a027e9c1580b55
tree9b8bc6907b397d75eaa7b9bc4f9d4215df95822f
parent0fe7b1e22787fa52f7c49404e8362d42bff7361a
IB/ipoib: Remove device when one port fails to init

Call ipoib_remove_one when one of the IPoIB ports fails to initialize in
order not to leave the module in unstable state.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c