[Bridge] [PATCH net-next] net: bridge: fix build when IPv6 is disabled

2021-05-14 Thread Matteo Croce
From: Matteo Croce The br_ip6_multicast_add_router() prototype is defined only when CONFIG_IPV6 is enabled, but the function is always referenced, so there is this build error with CONFIG_IPV6 not defined: net/bridge/br_multicast.c: In function ‘__br_multicast_enable_port’: net/bridge/br_multica

Re: [Bridge] [PATCH net-next] net: bridge: fix build when IPv6 is disabled

2021-05-14 Thread Nikolay Aleksandrov
On 14/05/2021 04:53, Matteo Croce wrote: > From: Matteo Croce > > The br_ip6_multicast_add_router() prototype is defined only when > CONFIG_IPV6 is enabled, but the function is always referenced, so there > is this build error with CONFIG_IPV6 not defined: > > net/bridge/br_multicast.c: In funct

Re: [Bridge] [PATCH net-next] net: bridge: fix build when IPv6 is disabled

2021-05-14 Thread Linus Lüssing
On Fri, May 14, 2021 at 03:53:48AM +0200, Matteo Croce wrote: > From: Matteo Croce > > The br_ip6_multicast_add_router() prototype is defined only when > CONFIG_IPV6 is enabled, but the function is always referenced, so there > is this build error with CONFIG_IPV6 not defined: > > net/bridge/br_

Re: [Bridge] [PATCH net-next] net: bridge: fix build when IPv6 is disabled

2021-05-14 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Fri, 14 May 2021 03:53:48 +0200 you wrote: > From: Matteo Croce > > The br_ip6_multicast_add_router() prototype is defined only when > CONFIG_IPV6 is enabled, but the function is always referenced, so there > is this b