diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2017-01-12 21:19:37 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-16 12:44:59 -0500 |
commit | 1666d49e1d416fcc2cce708242a52fe3317ea8ba (patch) | |
tree | 7a3f4000264d927086aa070fa549e4c5b97d0401 /net/ipv6/ip6_output.c | |
parent | 34393529163af7163ef8459808e3cf2af7db7f16 (diff) |
mld: do not remove mld souce list info when set link down
This is an IPv6 version of commit 24803f38a5c0 ("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>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions