kern/181225: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Tue Aug 20 18:10:01 UTC 2013
The following reply was made to PR kern/181225; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: kern/181225: commit references a PR
Date: Tue, 20 Aug 2013 18:08:15 +0000 (UTC)
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); */
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-net
mailing list