Skip to content

Commit

Permalink
ipv6: udp6_gro_complete() is static
Browse files Browse the repository at this point in the history
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: 57c67ff ("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>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Sep 10, 2014
1 parent 8e380f0 commit cc9c668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/udp_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cc9c668

Please sign in to comment.