net: bridge: vlan tunnel: constify bridge and port arguments
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 17 Mar 2020 12:08:34 +0000 (14:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 05:47:12 +0000 (22:47 -0700)
commit53e96632ab934b28d6237c85b851f09e1595b76f
tree06a77e9a5517331dbca4647bcd87f8d30a2c63cb
parent99f7c5e0960dfaabb5c685bab2ab8a1fc163b8e6
net: bridge: vlan tunnel: constify bridge and port arguments

The vlan tunnel code changes vlan options, it shouldn't touch port or
bridge options so we can constify the port argument. This would later help
us to re-use these functions from the vlan options code.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_netlink_tunnel.c
net/bridge/br_private_tunnel.h
net/bridge/br_vlan_tunnel.c