summaryrefslogtreecommitdiffstats
path: root/include/net/dst_ops.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-10-07 16:48:45 -0500
committerDavid S. Miller <davem@davemloft.net>2015-10-08 04:27:02 -0700
commitcf91a99daa4651d0c1f52b8c3d813fd44b43cada (patch)
tree211da00c404e813c85c8574cf09e91b2003e8202 /include/net/dst_ops.h
parent57c4bf859cad9d6c4f73d8c98a95e00f156301e0 (diff)
downloadlinux-cf91a99daa4651d0c1f52b8c3d813fd44b43cada.tar.gz
linux-cf91a99daa4651d0c1f52b8c3d813fd44b43cada.tar.xz
ipv4, ipv6: Pass net into __ip_local_out and __ip6_local_out
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/dst_ops.h')
-rw-r--r--include/net/dst_ops.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/dst_ops.h b/include/net/dst_ops.h
index 3f26a6af444e..a0d443ca16fc 100644
--- a/include/net/dst_ops.h
+++ b/include/net/dst_ops.h
@@ -9,6 +9,7 @@ struct kmem_cachep;
struct net_device;
struct sk_buff;
struct sock;
+struct net;
struct dst_ops {
unsigned short family;
@@ -28,7 +29,7 @@ struct dst_ops {
struct sk_buff *skb, u32 mtu);
void (*redirect)(struct dst_entry *dst, struct sock *sk,
struct sk_buff *skb);
- int (*local_out)(struct sock *sk, struct sk_buff *skb);
+ int (*local_out)(struct net *net, struct sock *sk, struct sk_buff *skb);
struct neighbour * (*neigh_lookup)(const struct dst_entry *dst,
struct sk_buff *skb,
const void *daddr);