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;
|
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);
|
const struct iphdr *iph = ip_hdr(skb);
|
||||||
struct udphdr *uh = (struct udphdr *)(skb->data + nhoff);
|
struct udphdr *uh = (struct udphdr *)(skb->data + nhoff);
|
||||||
|
|
Loading…
Add table
Reference in a new issue