Commit d10dbad2 authored by Wei Yongjun's avatar Wei Yongjun Committed by David S. Miller

gre_offload: fix sparse non static symbol warning

Fixes the following sparse warning:

net/ipv4/gre_offload.c:253:5: warning:
 symbol 'gre_gro_complete' was not declared. Should it be static?
Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c139cd3b
...@@ -250,7 +250,7 @@ static struct sk_buff **gre_gro_receive(struct sk_buff **head, ...@@ -250,7 +250,7 @@ static struct sk_buff **gre_gro_receive(struct sk_buff **head,
return pp; return pp;
} }
int gre_gro_complete(struct sk_buff *skb, int nhoff) static int gre_gro_complete(struct sk_buff *skb, int nhoff)
{ {
struct gre_base_hdr *greh = (struct gre_base_hdr *)(skb->data + nhoff); struct gre_base_hdr *greh = (struct gre_base_hdr *)(skb->data + nhoff);
struct packet_offload *ptype; struct packet_offload *ptype;
......
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