[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-bridge
Subject:    Re: [Bridge] [PATCH net] bridge: flush br's address entry in fdb when remove the bridge dev
From:       David Miller <davem () davemloft ! net>
Date:       2013-11-18 21:15:38
Message-ID: 20131118.161538.903718006401070788.davem () davemloft ! net
[Download RAW message or body]

From: Ding Tianhong <dingtianhong@huawei.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@huawei.com>

This patch does not apply at all to the current 'net' tree, please
respin.

Thank you.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic