svn commit: r254576 - head/sys/ofed/drivers/infiniband/ulp/ipoib
John Baldwin
jhb at FreeBSD.org
Tue Aug 20 18:08:07 UTC 2013
Author: jhb
Date: Tue Aug 20 18:08:06 2013
New Revision: 254576
URL: http://svnweb.freebsd.org/changeset/base/254576
Log:
Stop an ipoib interface before detaching it.
PR: kern/181225
Submitted by: Shahar Klein
Obtained from: Mellanox
MFC after: 1 week
Modified:
head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
Modified: head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
==============================================================================
--- head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c Tue Aug 20 18:06:18 2013 (r254575)
+++ head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c Tue Aug 20 18:08:06 2013 (r254576)
@@ -1073,6 +1073,8 @@ ipoib_remove_one(struct ib_device *devic
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); */
More information about the svn-src-head
mailing list