aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-01-09 09:22:05 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-13 14:36:43 -0500
commitd10dbad2aafacc7e1391595596e7c5138892dd93 (patch)
treeb894f2e8a65a18272082bbae3b5cdca555ca6e8b /net/ipv4
parentc139cd3b43eac8708849755ed14286d0e9d2e589 (diff)
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: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/gre_offload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/gre_offload.c b/net/ipv4/gre_offload.c
index 746a7b10d434..31da9f512583 100644
--- a/net/ipv4/gre_offload.c
+++ b/net/ipv4/gre_offload.c
@@ -250,7 +250,7 @@ out:
250 return pp; 250 return pp;
251} 251}
252 252
253int gre_gro_complete(struct sk_buff *skb, int nhoff) 253static int gre_gro_complete(struct sk_buff *skb, int nhoff)
254{ 254{
255 struct gre_base_hdr *greh = (struct gre_base_hdr *)(skb->data + nhoff); 255 struct gre_base_hdr *greh = (struct gre_base_hdr *)(skb->data + nhoff);
256 struct packet_offload *ptype; 256 struct packet_offload *ptype;