aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-09-09 11:29:12 -0400
committerDavid S. Miller <davem@davemloft.net>2014-09-09 23:10:45 -0400
commit72bb17b37b9076e12b388feee4a52e85ef8f6620 (patch)
treeb2d52dff4916998514ee077f2bdd8899953f6d57 /net/ipv4
parent416c51e17b8b31b574763ac2b88ee99ddbb0c85d (diff)
ipv4: udp4_gro_complete() is static
net/ipv4/udp_offload.c:339:5: warning: symbol 'udp4_gro_complete' was not declared. Should it be static? Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Tom Herbert <therbert@google.com> Fixes: 57c67ff4bd92 ("udp: additional GRO support") Acked-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/udp_offload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp_offload.c b/net/ipv4/udp_offload.c
index 84e0e05c9c0e..52d5f46abf86 100644
--- a/net/ipv4/udp_offload.c
+++ b/net/ipv4/udp_offload.c
@@ -336,7 +336,7 @@ int udp_gro_complete(struct sk_buff *skb, int nhoff)
336 return err; 336 return err;
337} 337}
338 338
339int udp4_gro_complete(struct sk_buff *skb, int nhoff) 339static int udp4_gro_complete(struct sk_buff *skb, int nhoff)
340{ 340{
341 const struct iphdr *iph = ip_hdr(skb); 341 const struct iphdr *iph = ip_hdr(skb);
342 struct udphdr *uh = (struct udphdr *)(skb->data + nhoff); 342 struct udphdr *uh = (struct udphdr *)(skb->data + nhoff);