svn commit: r258072 - stable/9/sys/ofed/drivers/infiniband/ulp/ipoib
John Baldwin
jhb at FreeBSD.org
Tue Nov 12 21:33:02 UTC 2013
Author: jhb
Date: Tue Nov 12 21:33:01 2013
New Revision: 258072
URL: http://svnweb.freebsd.org/changeset/base/258072
Log:
MFC 254576: Stop an ipoib interface before detaching it.
PR: kern/181225
Modified:
stable/9/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
==============================================================================
--- stable/9/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c Tue Nov 12 21:14:19 2013 (r258071)
+++ stable/9/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c Tue Nov 12 21:33:01 2013 (r258072)
@@ -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-stable-9
mailing list