]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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 20:20:35 +0000 (13:20 -0700)
commit4a68caa1b3d3f382bde56a6a3d3430bcb53ecf7f
tree17d141f1bf9a4d26b3f60140ad86dba79f1da698
parent321dbc0d61b02e47f0159e8f194ab25b85bae04d
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