Date: Fri, 29 Jun 2012 21:20:13 GMT From: Mark Johnston <markjdb@gmail.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/169557: [patch][lagg] handle interface renames Message-ID: <201206292120.q5TLKDsc068115@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/169557; it has been noted by GNATS. From: Mark Johnston <markjdb@gmail.com> To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/169557: [patch][lagg] handle interface renames Date: Fri, 29 Jun 2012 17:15:00 -0400 --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Argh, this is what I get for manually copying the patch to the tree on my laptop. =( I'm checking the wrong flag in the above patch. The attached patch corrects it. Thanks, -Mark --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="lagg_handle_rename.patch.txt" diff --git a/sys/net/if_lagg.c b/sys/net/if_lagg.c index 9041e18..503e76e 100644 --- a/sys/net/if_lagg.c +++ b/sys/net/if_lagg.c @@ -797,6 +797,8 @@ lagg_port_ifdetach(void *arg __unused, struct ifnet *ifp) if ((lp = ifp->if_lagg) == NULL) return; + if (ifp->if_flags & IFF_RENAMING) + return; sc = lp->lp_softc; --mYCpIKhGyMATD0i+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206292120.q5TLKDsc068115>