On 03/27/2018 08:38 AM, John Fastabend wrote:
> Fix build error in br_if.c
>
> 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]
> }
> ^
> Fixes: 419d14af9e07f ("bridge: Allow max MTU when multiple VLANs present")
> Signed-off-by: John Fastabend <[email protected]>
> ---
This is against net-next sorry for any confusion. Let me know
if you need me to respin.
@Chas, also I only build tested this to get my kernels building
again. You should probably verify I implemented what you expect
in the case without vlan filtering. It seems correct to me but
I'm not the expert here.
Thanks,
John