]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
ipv4: udp4_gro_complete() is static
authorEric Dumazet <edumazet@google.com>
Tue, 9 Sep 2014 15:29:12 +0000 (08:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 03:10:45 +0000 (20:10 -0700)
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>
net/ipv4/udp_offload.c

index 84e0e05c9c0e97b584b4fe42fe22a65dcc071615..52d5f46abf863f77eafb78ac059b75580dfd2e50 100644 (file)
@@ -336,7 +336,7 @@ int udp_gro_complete(struct sk_buff *skb, int nhoff)
        return err;
 }
 
-int udp4_gro_complete(struct sk_buff *skb, int nhoff)
+static int udp4_gro_complete(struct sk_buff *skb, int nhoff)
 {
        const struct iphdr *iph = ip_hdr(skb);
        struct udphdr *uh = (struct udphdr *)(skb->data + nhoff);