]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ipv4: __ip_local_out_sk() is static
authorEric Dumazet <edumazet@google.com>
Tue, 12 May 2015 13:31:48 +0000 (06:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2015 19:21:33 +0000 (15:21 -0400)
__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>
net/ipv4/ip_output.c

index c65b93a7b7113660d9f946128c0a4acee810de0f..2acc5dc32807bd5c24a6d3ac52a9662f1ac880ce 100644 (file)
@@ -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);