commit | 6218fe186109b93a2fa2343e13981e016e9961ab | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Wed Apr 14 18:12:53 2021 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Mon Apr 19 12:25:11 2021 +0200 |
tree | a28194aa53b05dd3dcebbddbffed0e2ba9626e63 | |
parent | 7baf867fef7cc65d666792e9d1b911beffe74ad7 [diff] |
xfrm: avoid synchronize_rcu during netns destruction Use the new exit_pre hook to NULL the netlink socket. The net namespace core will do a synchronize_rcu() between the exit_pre and exit/exit_batch handlers. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>