diff options
Diffstat (limited to 'net/xfrm/xfrm_user.c')
| -rw-r--r-- | net/xfrm/xfrm_user.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index ba59983aaff..b14ed4b1f27 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c @@ -2504,7 +2504,7 @@ static struct xfrm_policy *xfrm_compile_policy(struct sock *sk, int opt,  	if (p->dir > XFRM_POLICY_OUT)  		return NULL; -	xp = xfrm_policy_alloc(net, GFP_KERNEL); +	xp = xfrm_policy_alloc(net, GFP_ATOMIC);  	if (xp == NULL) {  		*dir = -ENOBUFS;  		return NULL;  |