提交 0ba8c9ec 编写于 作者: Y YOSHIFUJI Hideaki / 吉藤英明 提交者: David S. Miller

bridge br_multicast: Fix handling of Max Response Code in IGMPv3 message.

Signed-off-by: NYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 21edbb22
...@@ -852,8 +852,8 @@ static int br_multicast_query(struct net_bridge *br, ...@@ -852,8 +852,8 @@ static int br_multicast_query(struct net_bridge *br,
if (ih3->nsrcs) if (ih3->nsrcs)
goto out; goto out;
max_delay = ih3->code ? 1 : max_delay = ih3->code ?
IGMPV3_MRC(ih3->code) * (HZ / IGMP_TIMER_SCALE); IGMPV3_MRC(ih3->code) * (HZ / IGMP_TIMER_SCALE) : 1;
} }
if (!group) if (!group)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册