Re: [PATCH ipsec v2] xfrm interface: fix memory leak on creation

2019-07-04 Thread Nicolas Dichtel
Le 04/07/2019 à 12:22, Steffen Klassert a écrit : [snip] > > Applied, thanks a lot! > I suppose that this patch will be queued for stable trees? Regards, Nicolas

Re: [PATCH ipsec v2] xfrm interface: fix memory leak on creation

2019-07-04 Thread Steffen Klassert
On Tue, Jul 02, 2019 at 05:51:39PM +0200, Nicolas Dichtel wrote: > The following commands produce a backtrace and return an error but the xfrm > interface is created (in the wrong netns): > $ ip netns add foo > $ ip netns add bar > $ ip -n foo netns set bar 0 > $ ip -n foo link add xfrmi0 link-netn

[PATCH ipsec v2] xfrm interface: fix memory leak on creation

2019-07-02 Thread Nicolas Dichtel
The following commands produce a backtrace and return an error but the xfrm interface is created (in the wrong netns): $ ip netns add foo $ ip netns add bar $ ip -n foo netns set bar 0 $ ip -n foo link add xfrmi0 link-netnsid 0 type xfrm dev lo if_id 23 RTNETLINK answers: Invalid argument $ ip -n b