Date: Fri, 10 May 2013 20:57:04 +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-9@freebsd.org Subject: svn commit: r250480 - stable/9/sys/net Message-ID: <201305102057.r4AKv4Du047195@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: markj Date: Fri May 10 20:57:04 2013 New Revision: 250480 URL: http://svnweb.freebsd.org/changeset/base/250480 Log: MFC r248851: Ignore interface renames instead of removing the interface from the bridge group. Approved by: emaste Modified: stable/9/sys/net/if_bridge.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/net/ (props changed) Modified: stable/9/sys/net/if_bridge.c ============================================================================== --- stable/9/sys/net/if_bridge.c Fri May 10 20:56:07 2013 (r250479) +++ stable/9/sys/net/if_bridge.c Fri May 10 20:57:04 2013 (r250480) @@ -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.r4AKv4Du047195>