Re: [PATCH ipsec,v3] net: xfrm_policy: fix device unregistration hang

2018-02-14 Thread Xin Long
On Wed, Feb 14, 2018 at 5:24 PM, Steffen Klassert wrote: > On Tue, Feb 13, 2018 at 08:23:14PM +0200, Eyal Birger wrote: >> Hi Xin Long, >> >> On Tue, 13 Feb 2018 23:18:14 +0800 >> Xin Long wrote: >> >> > On Tue, Feb 13, 2018 at 6:54 PM, Eyal

Re: [PATCH ipsec,v3] net: xfrm_policy: fix device unregistration hang

2018-02-14 Thread Steffen Klassert
On Tue, Feb 13, 2018 at 08:23:14PM +0200, Eyal Birger wrote: > Hi Xin Long, > > On Tue, 13 Feb 2018 23:18:14 +0800 > Xin Long wrote: > > > On Tue, Feb 13, 2018 at 6:54 PM, Eyal Birger > > wrote: > > > In setups like the following: > > > > > >

Re: [PATCH ipsec,v3] net: xfrm_policy: fix device unregistration hang

2018-02-13 Thread Eyal Birger
Hi Xin Long, On Tue, 13 Feb 2018 23:18:14 +0800 Xin Long wrote: > On Tue, Feb 13, 2018 at 6:54 PM, Eyal Birger > wrote: > > In setups like the following: > > > >Host A --Host B > > tun0 -- ipsec -- eth0 -- eth0 -- ipsec --

Re: [PATCH ipsec,v3] net: xfrm_policy: fix device unregistration hang

2018-02-13 Thread Xin Long
On Tue, Feb 13, 2018 at 6:54 PM, Eyal Birger wrote: > In setups like the following: > >Host A --Host B > tun0 -- ipsec -- eth0 -- eth0 -- ipsec -- tun0 > > where tun0 are tunnel devices using dst_cache (ipip, ipip6, etc...). > > Unregistration of

[PATCH ipsec,v3] net: xfrm_policy: fix device unregistration hang

2018-02-13 Thread Eyal Birger
In setups like the following: Host A --Host B tun0 -- ipsec -- eth0 -- eth0 -- ipsec -- tun0 where tun0 are tunnel devices using dst_cache (ipip, ipip6, etc...). Unregistration of an underlying eth0 device leads to the following log messages: unregister_netdevice: