bridge: Handle IFLA_ADDRESS correctly when creating bridge device
authorToshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Fri, 25 Apr 2014 08:01:18 +0000 (17:01 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 04:52:16 +0000 (21:52 -0700)
commit28ad29fc24863062b43c0893f8475bedb38d4862
tree72715167d025cab396ba49e7c82ac95092f924cb
parent83445f0d5cd735169879d9e1179d1d35d559ea07
bridge: Handle IFLA_ADDRESS correctly when creating bridge device

[ Upstream commit 30313a3d5794472c3548d7288e306a5492030370 ]

When bridge device is created with IFLA_ADDRESS, we are not calling
br_stp_change_bridge_id(), which leads to incorrect local fdb
management and bridge id calculation, and prevents us from receiving
frames on the bridge device.

Reported-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: Toshiaki Makita <makita.toshiaki@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bridge/br_netlink.c