Skip to content

Commit

Permalink
ipv4: udp4_gro_complete() is static
Browse files Browse the repository at this point in the history
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: 57c67ff ("udp: additional GRO support")
Acked-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Sep 10, 2014
1 parent 416c51e commit 72bb17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/udp_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 72bb17b

Please sign in to comment.