Commit cc9c668a authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

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: default avatarEric Dumazet <edumazet@google.com>
Fixes: 57c67ff4 ("udp: additional GRO support")
Cc: Tom Herbert <therbert@google.com>
Acked-by: default avatarTom Herbert <therbert@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8e380f00
...@@ -156,7 +156,7 @@ static struct sk_buff **udp6_gro_receive(struct sk_buff **head, ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment