commit | c2f672fc94642bae96821a393f342edcfa9794a6 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Tue Sep 20 15:45:26 2016 +0200 |
committer | Steffen Klassert <steffen.klassert@secunet.com> | Wed Sep 21 12:37:29 2016 +0200 |
tree | 4dd04af628613f0aa692a2f811cf1deb89c4419e | |
parent | 34a3d4b2d1f1b7c81af79f6f93a6cef4c3a0f54a [diff] |
xfrm: state lookup can be lockless This is called from the packet input path, we get lock contention if many cpus handle ipsec in parallel. After recent rcu conversion it is safe to call __xfrm_state_lookup without the spinlock. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>