]> git.baikalelectronics.ru Git - kernel.git/commit
bridge: netlink: call br_changelink() during br_dev_newlink()
authorIvan Vecera <cera@cera.cz>
Fri, 20 Jan 2017 17:12:17 +0000 (18:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2017 20:07:27 +0000 (15:07 -0500)
commit624c8e4d8348ab59497e2eedbcf2ff5e7638e3b2
treec085cab00b7517dd78bbb8758092a94591ada27f
parent54bd83f1323dcc0680950ce8dd1cf98116b99f7a
bridge: netlink: call br_changelink() during br_dev_newlink()

Any bridge options specified during link creation (e.g. ip link add)
are ignored as br_dev_newlink() does not process them.
Use br_changelink() to do it.

Fixes: 29b68c21915f ("bridge: implement rtnl_link_ops->changelink")
Signed-off-by: Ivan Vecera <cera@cera.cz>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netlink.c