Skip to content

Commit 7d771aa

Browse files
Eric Dumazetdavem330
authored andcommitted
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: 7026b1d ("netfilter: Pass socket pointer down through okfn().") Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 216f8bb commit 7d771aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv4/ip_output.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ void ip_send_check(struct iphdr *iph)
9191
}
9292
EXPORT_SYMBOL(ip_send_check);
9393

94-
int __ip_local_out_sk(struct sock *sk, struct sk_buff *skb)
94+
static int __ip_local_out_sk(struct sock *sk, struct sk_buff *skb)
9595
{
9696
struct iphdr *iph = ip_hdr(skb);
9797

0 commit comments

Comments
 (0)