net: Pass net into dst_output and remove dst_output_okfn
[linux-drm-fsl-dcu.git] / net / ipv6 / xfrm6_output.c
index 4cefda009f53299bed8b4ac9008125a67da0fb68..c9a5bd5fea9c58a2046c401a743bc15ce44a87a8 100644 (file)
@@ -147,7 +147,7 @@ static int __xfrm6_output(struct net *net, struct sock *sk, struct sk_buff *skb)
 #ifdef CONFIG_NETFILTER
        if (!x) {
                IP6CB(skb)->flags |= IP6SKB_REROUTED;
-               return dst_output(sk, skb);
+               return dst_output(net, sk, skb);
        }
 #endif