ipv6: udp6_gro_complete() is static

net/ipv6/udp_offload.c:159:5: warning: symbol 'udp6_gro_complete' was
not declared. Should it be static?

Signed-off-by: Eric Dumazet <edumazet@google.com>
Fixes: 57c67ff4bd ("udp: additional GRO support")
Cc: Tom Herbert <therbert@google.com>
Acked-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eric Dumazet 2014-09-09 08:16:17 -07:00 committed by David S. Miller
parent 8e380f004e
commit cc9c668a08
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ static struct sk_buff **udp6_gro_receive(struct sk_buff **head,
return NULL;
}
int udp6_gro_complete(struct sk_buff *skb, int nhoff)
static int udp6_gro_complete(struct sk_buff *skb, int nhoff)
{
const struct ipv6hdr *ipv6h = ipv6_hdr(skb);
struct udphdr *uh = (struct udphdr *)(skb->data + nhoff);