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>
This commit is contained in:

committed by
David S. Miller

parent
57c4bf859c
commit
cf91a99daa
@@ -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);
|
||||
|
Reference in New Issue
Block a user