]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: mcast: fix unsolicited report interval after receiving querys
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 21 Jun 2018 11:49:36 +0000 (19:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jun 2018 01:27:45 +0000 (10:27 +0900)
commit72316e4dae321f661c858977fd39e2f42af7993a
treed824de92c95c576c17c2f397a0e318cd76a4fb51
parent573c338ac28809d2231b13e4b1f50a0491d5869d
ipv6: mcast: fix unsolicited report interval after receiving querys

After recieving MLD querys, we update idev->mc_maxdelay with max_delay
from query header. This make the later unsolicited reports have the same
interval with mc_maxdelay, which means we may send unsolicited reports with
long interval time instead of default configured interval time.

Also as we will not call ipv6_mc_reset() after device up. This issue will
be there even after leave the group and join other groups.

Fixes: e84209ab629e3 ("ipv6: make unsolicited report intervals configurable for mld")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/mcast.c