On Tue, Jan 29, 2019 at 10:27 PM Cong Wang <xiyou.wangc...@gmail.com> wrote: > diff --git a/net/ipv6/xfrm6_tunnel.c b/net/ipv6/xfrm6_tunnel.c > index f5b4febeaa25..08bf374a80eb 100644 > --- a/net/ipv6/xfrm6_tunnel.c > +++ b/net/ipv6/xfrm6_tunnel.c > @@ -344,8 +344,7 @@ static void __net_exit xfrm6_tunnel_net_exit(struct net > *net) > struct xfrm6_tunnel_net *xfrm6_tn = xfrm6_tunnel_pernet(net); > unsigned int i; > > - xfrm_state_flush(net, IPSEC_PROTO_ANY, false); > - xfrm_flush_gc(); > + xfrm_state_flush(net, IPSEC_PROTO_ANY, false, true);
Well... We still have to wait for works scheduled from other call path. I will send v2.