Date: Fri, 10 May 2013 20:57:23 +0000 (UTC) From: Mark Johnston <markj@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r250481 - stable/8/sys/net Message-ID: <201305102057.r4AKvNxn047278@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Fri May 10 20:57:22 2013 New Revision: 250481 URL: http://svnweb.freebsd.org/changeset/base/250481 Log: MFC r248851: Ignore interface renames instead of removing the interface from the bridge group. Approved by: emaste Modified: stable/8/sys/net/if_bridge.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/net/ (props changed) Modified: stable/8/sys/net/if_bridge.c ============================================================================== --- stable/8/sys/net/if_bridge.c Fri May 10 20:57:04 2013 (r250480) +++ stable/8/sys/net/if_bridge.c Fri May 10 20:57:22 2013 (r250481) @@ -1700,6 +1700,9 @@ bridge_ifdetach(void *arg __unused, stru struct bridge_softc *sc = ifp->if_bridge; struct bridge_iflist *bif; + if (ifp->if_flags & IFF_RENAMING) + return; + /* Check if the interface is a bridge member */ if (sc != NULL) { BRIDGE_LOCK(sc);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305102057.r4AKvNxn047278>