Re: [PATCH net-next] net: bridge: fix direct access to bridge vlan_enabled and use helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nikolay Aleksandrov <nikolay@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Mar 2018 18:27:06 +0200

> 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@xxxxxxxxxxxxxxxxxxx>

Applied, thanks for responding to this issue so quickly.




[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux