mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
bridge br_multicast: Fix handling of Max Response Code in IGMPv3 message.
Signed-off-by: YOSHIFUJI Hideaki <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
21edbb223e
commit
0ba8c9ec25
1 changed files with 2 additions and 2 deletions
|
|
@ -852,8 +852,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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue