From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 29 21:20:13 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC6991065674 for ; Fri, 29 Jun 2012 21:20:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A749C8FC19 for ; Fri, 29 Jun 2012 21:20:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5TLKDMG068116 for ; Fri, 29 Jun 2012 21:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5TLKDsc068115; Fri, 29 Jun 2012 21:20:13 GMT (envelope-from gnats) Date: Fri, 29 Jun 2012 21:20:13 GMT Message-Id: <201206292120.q5TLKDsc068115@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Mark Johnston Cc: Subject: Re: kern/169557: [patch][lagg] handle interface renames X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Johnston List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2012 21:20:13 -0000 The following reply was made to PR kern/169557; it has been noted by GNATS. From: Mark Johnston 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+--