Skip to content

Commit 72bb17b

Browse files
Eric Dumazetdavem330
authored andcommitted
ipv4: udp4_gro_complete() is static
net/ipv4/udp_offload.c:339:5: warning: symbol 'udp4_gro_complete' was not declared. Should it be static? Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Tom Herbert <therbert@google.com> Fixes: 57c67ff ("udp: additional GRO support") Acked-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 416c51e commit 72bb17b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv4/udp_offload.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ int udp_gro_complete(struct sk_buff *skb, int nhoff)
336336
return err;
337337
}
338338

339-
int udp4_gro_complete(struct sk_buff *skb, int nhoff)
339+
static int udp4_gro_complete(struct sk_buff *skb, int nhoff)
340340
{
341341
const struct iphdr *iph = ip_hdr(skb);
342342
struct udphdr *uh = (struct udphdr *)(skb->data + nhoff);

0 commit comments

Comments
 (0)