The following reply was made to PR kern/169557; it has been noted by GNATS.

From: Mark Johnston <mark...@gmail.com>
To: bug-follo...@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+--
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to