summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Dumazet2015-05-12 15:31:48 +0200
committerDavid S. Miller2015-05-13 21:21:33 +0200
commit7d771aaac7b2459013e9a246f16c06d4f2b819e1 (patch)
treece79c00eb780762b4868b803f7191d327038d51e
parenttcp/dccp: tw_timer_handler() is static (diff)
downloadkernel-qcow2-linux-7d771aaac7b2459013e9a246f16c06d4f2b819e1.tar.gz
kernel-qcow2-linux-7d771aaac7b2459013e9a246f16c06d4f2b819e1.tar.xz
kernel-qcow2-linux-7d771aaac7b2459013e9a246f16c06d4f2b819e1.zip
ipv4: __ip_local_out_sk() is static
__ip_local_out_sk() is only used from net/ipv4/ip_output.c net/ipv4/ip_output.c:94:5: warning: symbol '__ip_local_out_sk' was not declared. Should it be static? Fixes: 7026b1ddb6b8 ("netfilter: Pass socket pointer down through okfn().") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/ip_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
index c65b93a7b711..2acc5dc32807 100644
--- a/net/ipv4/ip_output.c
+++ b/net/ipv4/ip_output.c
@@ -91,7 +91,7 @@ void ip_send_check(struct iphdr *iph)
}
EXPORT_SYMBOL(ip_send_check);
-int __ip_local_out_sk(struct sock *sk, struct sk_buff *skb)
+static int __ip_local_out_sk(struct sock *sk, struct sk_buff *skb)
{
struct iphdr *iph = ip_hdr(skb);