]> git.baikalelectronics.ru Git - kernel.git/commit
igmp: Avoid zero delay when receiving odd mixture of IGMP queries
authorBen Hutchings <ben@decadent.org.uk>
Mon, 9 Jan 2012 22:06:46 +0000 (14:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jan 2012 22:06:46 +0000 (14:06 -0800)
commitadb987b1d07fe6536fe6c1fa358c4fa8bf84aaab
tree8e1ac7654905142f37d74d8e3e376325a5eb48b1
parentf35fa6a74db3a6a352fa387784bc0a49b11946cc
igmp: Avoid zero delay when receiving odd mixture of IGMP queries

Commit e4ce58fac39cf5ff239ce9a842822d728c320e25 ('ipv4: correct IGMP
behavior on v3 query during v2-compatibility mode') added yet another
case for query parsing, which can result in max_delay = 0.  Substitute
a value of 1, as in the usual v3 case.

Reported-by: Simon McVittie <smcv@debian.org>
References: http://bugs.debian.org/654876
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c