diff options
author | Eric Dumazet <edumazet@google.com> | 2014-09-09 08:16:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-09 20:10:44 -0700 |
commit | cc9c668a0805cdf6141ffae3d8e9a94875ec7a54 (patch) | |
tree | 570ee416e913fda18ddd5770dbe159829d9aabf9 /net/ipv6/udp_offload.c | |
parent | 8e380f004e8e3c071590426a64210331051a4c42 (diff) |
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: 57c67ff4bd92 ("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>
Diffstat (limited to 'net/ipv6/udp_offload.c')
-rw-r--r-- | net/ipv6/udp_offload.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |