]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: fix undefined br_vlan_can_enter_range in tunnel code
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Mon, 13 Jul 2020 07:55:46 +0000 (10:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jul 2020 18:22:55 +0000 (11:22 -0700)
commit945a8717952e452313683452d264281934f9d8d6
tree8ba6bfdc077197a31c1998fa58ecb88fd687f566
parent73e509a5e9a8a54b675adc2e92f2fc1fd7837e3e
net: bridge: fix undefined br_vlan_can_enter_range in tunnel code

If bridge vlan filtering is not defined we won't have
br_vlan_can_enter_range and thus will get a compile error as was
reported by Stephen and the build bot. So let's define a stub for when
vlan filtering is not used.

Fixes: f15e8e5f7e96 ("net: bridge: notify on vlan tunnel changes done via the old api")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_private.h