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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Apr 2014 23:46:17 +0000 (19:46 -0400)
commit30313a3d5794472c3548d7288e306a5492030370
treeef0932905b96576771b2f51a8f292e954815bf81
parent535cdf3c195ed4125414f6bb780382aed1b4e19c
bridge: Handle IFLA_ADDRESS correctly when creating bridge device

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>
net/bridge/br_netlink.c