Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d771aaa authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

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: 7026b1dd ("netfilter: Pass socket pointer down through okfn().")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 216f8bb9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);