Stop an ipoib interface before detaching it.
PR: kern/181225 Submitted by: Shahar Klein Obtained from: Mellanox MFC after: 1 week
This commit is contained in:
parent
3a8f0c444a
commit
c8e1113b37
@ -1073,6 +1073,8 @@ ipoib_remove_one(struct ib_device *device)
|
||||
if (rdma_port_get_link_layer(device, priv->port) != IB_LINK_LAYER_INFINIBAND)
|
||||
continue;
|
||||
|
||||
ipoib_stop(priv);
|
||||
|
||||
ib_unregister_event_handler(&priv->event_handler);
|
||||
|
||||
/* dev_change_flags(priv->dev, priv->dev->flags & ~IFF_UP); */
|
||||
|
Loading…
Reference in New Issue
Block a user