summaryrefslogtreecommitdiffstats
path: root/include/net/ip.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2015-10-07 16:48:36 -0500
committerDavid S. Miller <davem@davemloft.net>2015-10-08 04:26:55 -0700
commit4ebdfba73c09d8568d891bae87c40fad43dd7f41 (patch)
treef90cbfbed25de48ec9972d9b294cdcd856f05a12 /include/net/ip.h
parent13206b6bff3b15b724926a222406476bf2c23c40 (diff)
downloadlinux-stable-4ebdfba73c09d8568d891bae87c40fad43dd7f41.tar.gz
linux-stable-4ebdfba73c09d8568d891bae87c40fad43dd7f41.tar.bz2
linux-stable-4ebdfba73c09d8568d891bae87c40fad43dd7f41.zip
dst: Pass a sk into .local_out
For consistency with the other similar methods in the kernel pass a struct sock into the dst_ops .local_out method. Simplifying the socket passing case is needed a prequel to passing a struct net reference into .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/ip.h')
-rw-r--r--include/net/ip.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip.h b/include/net/ip.h
index dd06ab3669f9..ea1f721f7224 100644
--- a/include/net/ip.h
+++ b/include/net/ip.h
@@ -112,6 +112,7 @@ int ip_mc_output(struct sock *sk, struct sk_buff *skb);
int ip_do_fragment(struct net *net, struct sock *sk, struct sk_buff *skb,
int (*output)(struct net *, struct sock *, struct sk_buff *));
void ip_send_check(struct iphdr *ip);
+int __ip_local_out_sk(struct sock *sk, struct sk_buff *skb);
int __ip_local_out(struct sk_buff *skb);
int ip_local_out_sk(struct sock *sk, struct sk_buff *skb);
static inline int ip_local_out(struct sk_buff *skb)