Skip to content

Commit cc9c668

Browse files
Eric Dumazetdavem330
authored andcommitted
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: 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>
1 parent 8e380f0 commit cc9c668

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv6/udp_offload.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static struct sk_buff **udp6_gro_receive(struct sk_buff **head,
156156
return NULL;
157157
}
158158

159-
int udp6_gro_complete(struct sk_buff *skb, int nhoff)
159+
static int udp6_gro_complete(struct sk_buff *skb, int nhoff)
160160
{
161161
const struct ipv6hdr *ipv6h = ipv6_hdr(skb);
162162
struct udphdr *uh = (struct udphdr *)(skb->data + nhoff);

0 commit comments

Comments
 (0)