Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2013 18:08:07 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254576 - head/sys/ofed/drivers/infiniband/ulp/ipoib
Message-ID:  <201308201808.r7KI87bw040014@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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); */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308201808.r7KI87bw040014>