diff options
author | Xin Long <lucien.xin@gmail.com> | 2019-09-09 16:30:10 +0800 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2019-10-01 09:18:29 +0200 |
commit | 4361f5b6118ad77872f54f813321aa4905a7e9c1 (patch) | |
tree | 60a1b376bdffc2d5377d57db1720e5276598fa14 /net/ipv4/ip_tunnel_core.c | |
parent | 02dc96ef6c25f990452c114c59d75c368a1f4c8f (diff) |
xfrm: remove the unnecessary .net_exit for xfrmi
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@gmail.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv4/ip_tunnel_core.c')
0 files changed, 0 insertions, 0 deletions