aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ah4.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-01-09 14:20:48 +0100
committerSteffen Klassert <steffen.klassert@secunet.com>2017-01-10 10:57:13 +0100
commit711059b9752ad09ae6bcd4be8e48d30e5db483d8 (patch)
tree3b8968687791bb4e12572b74309361509f71ab44 /net/ipv4/ah4.c
parentxfrm: remove xfrm_state_put_afinfo (diff)
downloadlinux-dev-711059b9752ad09ae6bcd4be8e48d30e5db483d8.tar.xz
linux-dev-711059b9752ad09ae6bcd4be8e48d30e5db483d8.zip
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 'net/ipv4/ah4.c')
0 files changed, 0 insertions, 0 deletions