From: Nikolay Aleksandrov Date: Fri, 7 Mar 2014 11:44:18 +0000 (+0100) Subject: net: af_key: fix sleeping under rcu X-Git-Tag: v3.14-rc8~3^2~18^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87536a81e1f52409b45333ce8cac415a1218163c;p=pandora-kernel.git 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 CC: Steffen Klassert CC: Fan Du CC: David S. Miller Signed-off-by: Nikolay Aleksandrov Signed-off-by: Steffen Klassert --- Reading git-diff-tree failed