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

2016-11-15 Thread David Miller
From: Hangbin Liu Date: Mon, 14 Nov 2016 16:16:28 +0800 > In commit 24cf3af3fed5 ("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

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

2016-11-14 Thread Hangbin Liu
In commit 24cf3af3fed5 ("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_clea