[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131118.161538.903718006401070788.davem@davemloft.net>
Date: Mon, 18 Nov 2013 16:15:38 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dingtianhong@...wei.com
Cc: stephen@...workplumber.org, bridge@...ts.linux-foundation.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net] bridge: flush br's address entry in fdb when
remove the bridge dev
From: Ding Tianhong <dingtianhong@...wei.com>
Date: Mon, 18 Nov 2013 16:26:44 +0800
> When the following commands are executed:
>
> brctl addbr br0
> ifconfig br0 hw ether <addr>
> rmmod bridge
>
> The calltrace will occur:
...
> The reason is that if the bridge dev's address is changed, the
> br_fdb_change_mac_address() will add new address in fdb, but when
> the bridge was removed, the address entry in the fdb did not free,
> the bridge_fdb_cache still has objects when destroy the cache, Fix
> this by flushing the bridge address entry when removing the bridge.
>
> Signed-off-by: Ding Tianhong <dingtianhong@...wei.com>
This patch does not apply at all to the current 'net' tree, please
respin.
Thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists