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: 7026b1ddb6
("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…
Reference in New Issue
Block a user