]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7a62d3240c88be166db432b3acda1d007b602e6e
tree06a77e9a5517331dbca4647bcd87f8d30a2c63cb
parentb671d18bc48856d5f4a0d57ffbbaaba7fe3ba903
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