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)
commitb6677449dff674cf5b81429b11d5c7f358852ef9
treec085cab00b7517dd78bbb8758092a94591ada27f
parent90c311b0eeead647b708a723dbdde1eda3dcad05
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: 133235161721 ("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