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:
parent
8e380f004e
commit
cc9c668a08
@ -156,7 +156,7 @@ static struct sk_buff **udp6_gro_receive(struct sk_buff **head,
|
|||||||
return NULL;
|
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);
|
const struct ipv6hdr *ipv6h = ipv6_hdr(skb);
|
||||||
struct udphdr *uh = (struct udphdr *)(skb->data + nhoff);
|
struct udphdr *uh = (struct udphdr *)(skb->data + nhoff);
|
||||||
|
Loading…
Reference in New Issue
Block a user