Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ba8c9ec authored by YOSHIFUJI Hideaki / 吉藤英明's avatar YOSHIFUJI Hideaki / 吉藤英明 Committed by David S. Miller
Browse files

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

parent 21edbb22
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)