diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-03-07 12:44:18 +0100 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2014-03-10 08:27:22 +0100 |
commit | 87536a81e1f52409b45333ce8cac415a1218163c (patch) | |
tree | bb76b0b98b70de9bdc96e7d55f0b04ca59dd3777 /include/linux/security.h | |
parent | a8d9bc2e9f5d1c5a25e33cec096d2a1652d3fd52 (diff) | |
download | linux-stable-87536a81e1f52409b45333ce8cac415a1218163c.tar.gz linux-stable-87536a81e1f52409b45333ce8cac415a1218163c.tar.bz2 linux-stable-87536a81e1f52409b45333ce8cac415a1218163c.zip |
net: af_key: fix sleeping under rcu
There's a kmalloc with GFP_KERNEL in a helper
(pfkey_sadb2xfrm_user_sec_ctx) used in pfkey_compile_policy which is
called under rcu_read_lock. Adjust pfkey_sadb2xfrm_user_sec_ctx to have
a gfp argument and adjust the users.
CC: Dave Jones <davej@redhat.com>
CC: Steffen Klassert <steffen.klassert@secunet.com>
CC: Fan Du <fan.du@windriver.com>
CC: David S. Miller <davem@davemloft.net>
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'include/linux/security.h')
0 files changed, 0 insertions, 0 deletions