Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7944fb1 authored by Thomas Graf's avatar Thomas Graf Committed by David S. Miller
Browse files

[XFRM] policy: Replace magic number with XFRM_POLICY_OUT



Signed-off-by: default avatarThomas Graf <tgraf@suug.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3b26a9a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1477,7 +1477,7 @@ restart:
	pol_dead = 0;
	xfrm_nr = 0;

	if (sk && sk->sk_policy[1]) {
	if (sk && sk->sk_policy[XFRM_POLICY_OUT]) {
		policy = xfrm_sk_policy_lookup(sk, XFRM_POLICY_OUT, fl);
		if (IS_ERR(policy))
			return PTR_ERR(policy);