mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
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: 57c67ff4bd
("udp: additional GRO support")
Acked-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
416c51e17b
commit
72bb17b37b
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ int udp_gro_complete(struct sk_buff *skb, int nhoff)
|
|||
return err;
|
||||
}
|
||||
|
||||
int udp4_gro_complete(struct sk_buff *skb, int nhoff)
|
||||
static int udp4_gro_complete(struct sk_buff *skb, int nhoff)
|
||||
{
|
||||
const struct iphdr *iph = ip_hdr(skb);
|
||||
struct udphdr *uh = (struct udphdr *)(skb->data + nhoff);
|
||||
|
|
Loading…
Reference in a new issue