aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/security.c b/security/security.c
index 8ef1f7dff277..bae843c8a13e 100644
--- a/security/security.c
+++ b/security/security.c
@@ -1100,7 +1100,7 @@ void security_sk_clone(const struct sock *sk, struct sock *newsk)
1100 1100
1101void security_sk_classify_flow(struct sock *sk, struct flowi *fl) 1101void security_sk_classify_flow(struct sock *sk, struct flowi *fl)
1102{ 1102{
1103 security_ops->sk_getsecid(sk, &fl->secid); 1103 security_ops->sk_getsecid(sk, &fl->flowi_secid);
1104} 1104}
1105EXPORT_SYMBOL(security_sk_classify_flow); 1105EXPORT_SYMBOL(security_sk_classify_flow);
1106 1106
@@ -1246,7 +1246,7 @@ int security_xfrm_decode_session(struct sk_buff *skb, u32 *secid)
1246 1246
1247void security_skb_classify_flow(struct sk_buff *skb, struct flowi *fl) 1247void security_skb_classify_flow(struct sk_buff *skb, struct flowi *fl)
1248{ 1248{
1249 int rc = security_ops->xfrm_decode_session(skb, &fl->secid, 0); 1249 int rc = security_ops->xfrm_decode_session(skb, &fl->flowi_secid, 0);
1250 1250
1251 BUG_ON(rc); 1251 BUG_ON(rc);
1252} 1252}