Re: [PATCHv2 net] igmp: do not remove igmp souce list info when set link down

2016-11-12 Thread David Miller
From: Hangbin Liu Date: Wed, 9 Nov 2016 11:16:40 +0800 > In commit 24cf3af(igmp: call ip_mc_clear_src...), we forgot to remove > igmpv3_clear_delrec() in ip_mc_down(), which also called ip_mc_clear_src(). > This make us clear all IGMPv3 source filter info after

[PATCHv2 net] igmp: do not remove igmp souce list info when set link down

2016-11-08 Thread Hangbin Liu
In commit 24cf3af(igmp: call ip_mc_clear_src...), we forgot to remove igmpv3_clear_delrec() in ip_mc_down(), which also called ip_mc_clear_src(). This make us clear all IGMPv3 source filter info after NETDEV_DOWN. Move igmpv3_clear_delrec() to ip_mc_destroy_dev() and then no need ip_mc_clear_src()