diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2018-08-29 18:06:10 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-02 13:39:37 -0700 |
commit | ff06525fcb8ae3c302ac1319bf6c07c026dea964 (patch) | |
tree | 825ebee65cc163c698c708641f43af49c228ccdd /drivers/net/ethernet/natsemi | |
parent | igmp: fix incorrect unsolicit report count when join group (diff) | |
download | linux-dev-ff06525fcb8ae3c302ac1319bf6c07c026dea964.tar.xz linux-dev-ff06525fcb8ae3c302ac1319bf6c07c026dea964.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/natsemi')
0 files changed, 0 insertions, 0 deletions