Home
last modified time | relevance | path

Searched hist:ff06525fcb8ae3c302ac1319bf6c07c026dea964 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv4/
H A Digmp.cdiff ff06525fcb8ae3c302ac1319bf6c07c026dea964 Wed Aug 29 05:06:10 CDT 2018 Hangbin Liu <liuhangbin@gmail.com> igmp: fix incorrect unsolicit report count after link down and up

After link down and up, i.e. when call ip_mc_up(), we doesn't init
im->unsolicit_count. So after igmp_timer_expire(), we will not start
timer again and only send one unsolicit report at last.

Fix it by initializing im->unsolicit_count in igmp_group_added(), so
we can respect igmp robustness value.

Fixes: 24803f38a5c0b ("igmp: do not remove igmp souce list info when set link down")
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>