Commit 72bb17b3 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

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: default avatarEric Dumazet <edumazet@google.com>
Cc: Tom Herbert <therbert@google.com>
Fixes: 57c67ff4 ("udp: additional GRO support")
Acked-by: default avatarTom Herbert <therbert@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 416c51e1
...@@ -336,7 +336,7 @@ int udp_gro_complete(struct sk_buff *skb, int nhoff) ...@@ -336,7 +336,7 @@ int udp_gro_complete(struct sk_buff *skb, int nhoff)
return err; 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); const struct iphdr *iph = ip_hdr(skb);
struct udphdr *uh = (struct udphdr *)(skb->data + nhoff); struct udphdr *uh = (struct udphdr *)(skb->data + nhoff);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment