diff options
author | Florian Westphal <fw@strlen.de> | 2017-01-09 14:20:48 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2017-01-10 10:57:13 +0100 |
commit | 711059b9752ad09ae6bcd4be8e48d30e5db483d8 (patch) | |
tree | 3b8968687791bb4e12572b74309361509f71ab44 /include/dt-bindings/spmi | |
parent | af5d27c4e12b804c065c0e7c87507fea5683dab4 (diff) |
xfrm: add and use xfrm_state_afinfo_get_rcu
xfrm_init_tempstate is always called from within rcu read side section.
We can thus use a simpler function that doesn't call rcu_read_lock
again.
While at it, also make xfrm_init_tempstate return value void, the
return value was never tested.
A followup patch will replace remaining callers of xfrm_state_get_afinfo
with xfrm_state_afinfo_get_rcu variant and then remove the 'old'
get_afinfo interface.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/dt-bindings/spmi')
0 files changed, 0 insertions, 0 deletions