net: Put flowi_* prefix on AF independent members of struct flowi
[linux-3.10.git] / security / selinux / xfrm.c
index c43ab54..510ec2c 100644 (file)
@@ -135,10 +135,10 @@ int selinux_xfrm_state_pol_flow_match(struct xfrm_state *x, struct xfrm_policy *
 
        state_sid = x->security->ctx_sid;
 
-       if (fl->secid != state_sid)
+       if (fl->flowi_secid != state_sid)
                return 0;
 
-       rc = avc_has_perm(fl->secid, state_sid, SECCLASS_ASSOCIATION,
+       rc = avc_has_perm(fl->flowi_secid, state_sid, SECCLASS_ASSOCIATION,
                          ASSOCIATION__SENDTO,
                          NULL)? 0:1;