mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-19 11:43:40 +00:00
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>
This commit is contained in:
parent
216f8bb9f6
commit
7d771aaac7
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user