aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-10-07 17:48:35 -0400
committerDavid S. Miller <davem@davemloft.net>2015-10-08 07:26:54 -0400
commit13206b6bff3b15b724926a222406476bf2c23c40 (patch)
tree4d433aa937254f44d86411cd33355072b56925ab /net/xfrm
parent3f5312ae620c79e877a6aa0e8894c6603a090b4e (diff)
net: Pass net into dst_output and remove dst_output_okfn
Replace dst_output_okfn with dst_output Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_output.c2
-rw-r--r--net/xfrm/xfrm_policy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_output.c b/net/xfrm/xfrm_output.c
index c48a4b8582bb..88752b0c07d8 100644
--- a/net/xfrm/xfrm_output.c
+++ b/net/xfrm/xfrm_output.c
@@ -141,7 +141,7 @@ int xfrm_output_resume(struct sk_buff *skb, int err)
141 goto out; 141 goto out;
142 142
143 if (!skb_dst(skb)->xfrm) 143 if (!skb_dst(skb)->xfrm)
144 return dst_output(skb->sk, skb); 144 return dst_output(net, skb->sk, skb);
145 145
146 err = nf_hook(skb_dst(skb)->ops->family, 146 err = nf_hook(skb_dst(skb)->ops->family,
147 NF_INET_POST_ROUTING, net, skb->sk, skb, 147 NF_INET_POST_ROUTING, net, skb->sk, skb,
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index be1776bc5673..f4f2d987f8f0 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -1944,7 +1944,7 @@ static void xfrm_policy_queue_process(unsigned long arg)
1944 skb_dst_drop(skb); 1944 skb_dst_drop(skb);
1945 skb_dst_set(skb, dst); 1945 skb_dst_set(skb, dst);
1946 1946
1947 dst_output(skb->sk, skb); 1947 dst_output(net, skb->sk, skb);
1948 } 1948 }
1949 1949
1950out: 1950out: