From: Eric Dumazet Date: Tue, 9 Sep 2014 15:16:17 +0000 (-0700) Subject: ipv6: udp6_gro_complete() is static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cc9c668a0805cdf6141ffae3d8e9a94875ec7a54;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Fixes: 57c67ff4bd92 ("udp: additional GRO support") Cc: Tom Herbert Acked-by: Tom Herbert Signed-off-by: David S. Miller --- diff --git a/net/ipv6/udp_offload.c b/net/ipv6/udp_offload.c index 89cb9a9b8537..a1ad34b1c4ec 100644 --- a/net/ipv6/udp_offload.c +++ b/net/ipv6/udp_offload.c @@ -156,7 +156,7 @@ flush: 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);