Message ID | 201003160527.o2G5R0nS010812@94.43.138.210.xn.2iij.net |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c index 4095192..bbbd996 100644 --- a/net/bridge/br_multicast.c +++ b/net/bridge/br_multicast.c @@ -851,8 +851,8 @@ static int br_multicast_query(struct net_bridge *br, if (ih3->nsrcs) goto out; - max_delay = ih3->code ? 1 : - IGMPV3_MRC(ih3->code) * (HZ / IGMP_TIMER_SCALE); + max_delay = ih3->code ? + IGMPV3_MRC(ih3->code) * (HZ / IGMP_TIMER_SCALE) : 1; } if (!group)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> --- net/bridge/br_multicast.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)