On Thu, Mar 10, 2016 at 11:55 AM, David Miller <davem@xxxxxxxxxxxxx> wrote: > Indeed, good catch. Therefore: > > 1) Keep the masq netdev notifier. That will flush the conntrack table > for the inetdev_destroy event. > > 2) Make the inetdev notifier only do something if inetdev->dead is > false. (ie. we are flushing an individual address) > > And then we don't need the NETDEV_UNREGISTER thing at all: This makes sense to me. I guess similar thing needs to do for IPv6 masq too. Thanks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html