diff options
Diffstat (limited to 'security/selinux/xfrm.c')
| -rw-r--r-- | security/selinux/xfrm.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/xfrm.c b/security/selinux/xfrm.c index fff78d3b51a..728c57e3d65 100644 --- a/security/selinux/xfrm.c +++ b/security/selinux/xfrm.c @@ -208,7 +208,7 @@ static int selinux_xfrm_sec_ctx_alloc(struct xfrm_sec_ctx **ctxp,  	if (!uctx)  		goto not_from_user; -	if (uctx->ctx_doi != XFRM_SC_ALG_SELINUX) +	if (uctx->ctx_alg != XFRM_SC_ALG_SELINUX)  		return -EINVAL;  	str_len = uctx->ctx_len;  |