diff options
author | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@linux-ipv6.org> | 2010-03-15 15:27:00 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-16 17:15:46 -0400 |
commit | 0ba8c9ec25465cd0680b80c0f5836f558e3b972d (patch) | |
tree | 28de185348a076c79e1e28196099a04515d9b700 /net | |
parent | 21edbb223ed2af88b090e7945af7d91d672e3aa6 (diff) |
bridge br_multicast: Fix handling of Max Response Code in IGMPv3 message.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/bridge/br_multicast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c index 398221e81be5..19618f25b4c6 100644 --- a/net/bridge/br_multicast.c +++ b/net/bridge/br_multicast.c | |||
@@ -852,8 +852,8 @@ static int br_multicast_query(struct net_bridge *br, | |||
852 | if (ih3->nsrcs) | 852 | if (ih3->nsrcs) |
853 | goto out; | 853 | goto out; |
854 | 854 | ||
855 | max_delay = ih3->code ? 1 : | 855 | max_delay = ih3->code ? |
856 | IGMPV3_MRC(ih3->code) * (HZ / IGMP_TIMER_SCALE); | 856 | IGMPV3_MRC(ih3->code) * (HZ / IGMP_TIMER_SCALE) : 1; |
857 | } | 857 | } |
858 | 858 | ||
859 | if (!group) | 859 | if (!group) |