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

[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 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 br_multicast_is_router stub when igmp is disabled

2021-05-14 Thread Linus Lüssing
On Fri, May 14, 2021 at 10:32:33AM +0300, Nikolay Aleksandrov wrote: > From: Nikolay Aleksandrov > > br_multicast_is_router takes two arguments when bridge IGMP is enabled > and just one when it's disabled, fix the stub to take two as well. > > Fixes: 1a3065a26807 ("net: bridge: mcast: prepare i

Re: [Bridge] [net-next:master 40/65] net/bridge/br_input.c:135:8: error: too many arguments to function 'br_multicast_is_router'

2021-05-14 Thread Nikolay Aleksandrov
vem/net-next.git >> master >> head: ea89c862f01e02ec459932c7c3113fa37aedd09a >> commit: 1a3065a26807b4cdd65d3b696ddb18385610f7da [40/65] net: bridge: mcast: >> prepare is-router function for mcast router split >> config: um-randconfig-s032-20210514 (attached as .config

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