diff options
| author | Nikolay Aleksandrov <[email protected]> | 2014-03-07 11:44:18 +0000 |
|---|---|---|
| committer | Steffen Klassert <[email protected]> | 2014-03-10 07:27:22 +0000 |
| commit | 87536a81e1f52409b45333ce8cac415a1218163c (patch) | |
| tree | bb76b0b98b70de9bdc96e7d55f0b04ca59dd3777 /security/selinux/hooks.c | |
| parent | bnx2: Fix shutdown sequence (diff) | |
| download | kernel-87536a81e1f52409b45333ce8cac415a1218163c.tar.gz kernel-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 <[email protected]>
CC: Steffen Klassert <[email protected]>
CC: Fan Du <[email protected]>
CC: David S. Miller <[email protected]>
Signed-off-by: Nikolay Aleksandrov <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
