mld: do not remove mld souce list info when set link down
This is an IPv6 version of commit 24803f38 ("igmp: do not remove igmp souce list..."). In mld_del_delrec(), we will restore back all source filter info instead of flush them. Move mld_clear_delrec() from ipv6_mc_down() to ipv6_mc_destroy_dev() since we should not remove source list info when set link down. Remove igmp6_group_dropped() in ipv6_mc_destroy_dev() since we have called it in ipv6_mc_down(). Also clear all source info after igmp6_group_dropped() instead of in it because ipv6_mc_down() will call igmp6_group_dropped(). Signed-off-by:Hangbin Liu <liuhangbin@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
34393529
-
mentioned in commit df9c0f8a
-
mentioned in commit 8a5d27ea
-
mentioned in commit 362da40c
-
mentioned in commit baa51358
-
mentioned in commit 34f74165
-
mentioned in commit 3d95a5e3
-
mentioned in commit 4dcb3398
-
mentioned in commit 6d80c781
-
mentioned in commit c24d4302
-
mentioned in commit 7f8a6bbe
-
mentioned in commit d2c7abe7
Please register or sign in to comment