Date: Mon, 25 Feb 2019 21:38:53 +0100 From: Andreas Kempe <kempe@lysator.liu.se> To: Hans Petter Selasky <hps@selasky.org>, freebsd-net@freebsd.org, freebsd-drivers <freebsd-drivers@mellanox.com> Subject: Re: Infiniband: Mellanox MT26418 in ethernet mode causes crash on shutdown Message-ID: <66c8a5f3-0351-e125-41fb-66ee39cc4106@lysator.liu.se> In-Reply-To: <940f6859-037b-68d6-298a-513ea6ebf7ce@selasky.org> References: <8763252f-d433-5e1e-9e3b-628e0545c8eb@lysator.liu.se> <940f6859-037b-68d6-298a-513ea6ebf7ce@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-02-25 10:28, Hans Petter Selasky wrote: > I think the if_down() call is not strictly needed. ether_ifdetach() > already does this. Can you test the patch w/o the if_down() call? > I only added the call because I was not sure what would happen if you destroy the port for an active interface. If it could cause issues if operations are performed on the interface while it is being destroyed. That said, I've tested without the call to if_down() and it seems to work. Cordially, Andreas Kempe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?66c8a5f3-0351-e125-41fb-66ee39cc4106>