Searched refs:sk_policy (Results 1 – 2 of 2) sorted by relevance
1057 if (sk && sk->sk_policy[XFRM_POLICY_IN]) in __xfrm_policy_check2()1133 if (unlikely(sk->sk_policy[0] || sk->sk_policy[1])) in xfrm_sk_clone_policy()1142 if (unlikely(sk->sk_policy[0] != NULL)) { in xfrm_sk_free_policy()1143 xfrm_policy_delete(sk->sk_policy[0], XFRM_POLICY_MAX); in xfrm_sk_free_policy()1144 sk->sk_policy[0] = NULL; in xfrm_sk_free_policy()1146 if (unlikely(sk->sk_policy[1] != NULL)) { in xfrm_sk_free_policy()1147 xfrm_policy_delete(sk->sk_policy[1], XFRM_POLICY_MAX+1); in xfrm_sk_free_policy()1148 sk->sk_policy[1] = NULL; in xfrm_sk_free_policy()
317 struct xfrm_policy *sk_policy[2]; member