[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190917090229.GC2879@gauss3.secunet.de>
Date: Tue, 17 Sep 2019 11:02:29 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Xin Long <lucien.xin@...il.com>
CC: network dev <netdev@...r.kernel.org>, <davem@...emloft.net>
Subject: Re: [PATCHv2 ipsec-next] xfrm: remove the unnecessary .net_exit for
xfrmi
On Mon, Sep 09, 2019 at 04:30:10PM +0800, Xin Long wrote:
> The xfrm_if(s) on each netns can be deleted when its xfrmi dev is
> deleted. xfrmi dev's removal can happen when:
>
> a. netns is being removed and all xfrmi devs will be deleted.
>
> b. rtnl_link_unregister(&xfrmi_link_ops) in xfrmi_fini() when
> xfrm_interface.ko is being unloaded.
>
> So there's no need to use xfrmi_exit_net() to clean any xfrm_if up.
>
> v1->v2:
> - Fix some changelog.
>
> Signed-off-by: Xin Long <lucien.xin@...il.com>
I've queued this for applying until after the merge window,
no need to resend.
Thanks!
Powered by blists - more mailing lists