dst: Pass a sk into .local_out
[firefly-linux-kernel-4.4.55.git] / drivers / net / vrf.c
index 64499766e00f64255ece98727d382064e621e909..1039eb5f6c2abb88ccd45bfef8382ec545872b64 100644 (file)
@@ -74,9 +74,9 @@ static struct dst_entry *vrf_ip_check(struct dst_entry *dst, u32 cookie)
        return dst;
 }
 
-static int vrf_ip_local_out(struct sk_buff *skb)
+static int vrf_ip_local_out(struct sock *sk, struct sk_buff *skb)
 {
-       return ip_local_out(skb);
+       return ip_local_out_sk(sk, skb);
 }
 
 static unsigned int vrf_v4_mtu(const struct dst_entry *dst)