mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 01:51:39 +00:00
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>
This commit is contained in:
parent
3f5312ae62
commit
13206b6bff
19 changed files with 28 additions and 30 deletions
|
@ -141,7 +141,7 @@ int xfrm_output_resume(struct sk_buff *skb, int err)
|
|||
goto out;
|
||||
|
||||
if (!skb_dst(skb)->xfrm)
|
||||
return dst_output(skb->sk, skb);
|
||||
return dst_output(net, skb->sk, skb);
|
||||
|
||||
err = nf_hook(skb_dst(skb)->ops->family,
|
||||
NF_INET_POST_ROUTING, net, skb->sk, skb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue