X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=security%2Fselinux%2Fxfrm.c;h=f3cb9ed731a9d927319c37bfc3a2e0d63f330db9;hb=1b195b170da6d75abafa290deeb8863dc8a4d79b;hp=c0eb72013d671a75a155481749b702a262521d65;hpb=4b48d9d44ebe0e8c31b4fe3b7480941576fff613;p=firefly-linux-kernel-4.4.55.git diff --git a/security/selinux/xfrm.c b/security/selinux/xfrm.c index c0eb72013d67..f3cb9ed731a9 100644 --- a/security/selinux/xfrm.c +++ b/security/selinux/xfrm.c @@ -401,7 +401,7 @@ int selinux_xfrm_state_delete(struct xfrm_state *x) * gone thru the IPSec process. */ int selinux_xfrm_sock_rcv_skb(u32 isec_sid, struct sk_buff *skb, - struct avc_audit_data *ad) + struct common_audit_data *ad) { int i, rc = 0; struct sec_path *sp; @@ -442,12 +442,12 @@ int selinux_xfrm_sock_rcv_skb(u32 isec_sid, struct sk_buff *skb, * checked in the selinux_xfrm_state_pol_flow_match hook above. */ int selinux_xfrm_postroute_last(u32 isec_sid, struct sk_buff *skb, - struct avc_audit_data *ad, u8 proto) + struct common_audit_data *ad, u8 proto) { struct dst_entry *dst; int rc = 0; - dst = skb->dst; + dst = skb_dst(skb); if (dst) { struct dst_entry *dst_test;