summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tc-testing/tc-tests
diff options
context:
space:
mode:
authorNikolay Aleksandrov2018-03-23 17:27:06 +0100
committerDavid S. Miller2018-03-23 17:41:14 +0100
commit82792a070b168a9659c78e6a19efe5b6d1a7ce73 (patch)
treebe0c2eac05f6fbaa7c2fae7c50d75de72df62f63 /tools/testing/selftests/tc-testing/tc-tests
parentMerge branch 'tls-RX' (diff)
downloadkernel-qcow2-linux-82792a070b168a9659c78e6a19efe5b6d1a7ce73.tar.gz
kernel-qcow2-linux-82792a070b168a9659c78e6a19efe5b6d1a7ce73.tar.xz
kernel-qcow2-linux-82792a070b168a9659c78e6a19efe5b6d1a7ce73.zip
net: bridge: fix direct access to bridge vlan_enabled and use helper
We need to use br_vlan_enabled() helper otherwise we'll break builds without bridge vlans: net/bridge//br_if.c: In function ‘br_mtu’: net/bridge//br_if.c:458:8: error: ‘const struct net_bridge’ has no member named ‘vlan_enabled’ if (br->vlan_enabled) ^ net/bridge//br_if.c:462:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ scripts/Makefile.build:324: recipe for target 'net/bridge//br_if.o' failed Fixes: 419d14af9e07 ("bridge: Allow max MTU when multiple VLANs present") Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/tc-testing/tc-tests')
0 files changed, 0 insertions, 0 deletions