]> 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)
commit1f3e21ad03428fb980617f0a6bcf6d214645d20e
tree06a77e9a5517331dbca4647bcd87f8d30a2c63cb
parentb1b60210b699bbe0c7513e0a9c6bde494eec8004
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