diff options
author | Eric Dumazet <edumazet@google.com> | 2017-01-09 14:18:01 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-10 13:30:13 -0500 |
commit | d9584d8ccc06ba98f4fad8ec720de66b6659fd35 (patch) | |
tree | 38cc21fb24043a51b0b9b791a5bc8f57d66810cd | |
parent | 2f8225e834618b9b93eaff5cea8aabbd42f04c84 (diff) |
net: skb_flow_get_be16() can be static
Removes following sparse complain :
net/core/flow_dissector.c:70:8: warning: symbol 'skb_flow_get_be16'
was not declared. Should it be static?
Fixes: 972d3876faa8 ("flow dissector: ICMP support")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/core/flow_dissector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c index fe4e1531976c..1b7673aac59d 100644 --- a/net/core/flow_dissector.c +++ b/net/core/flow_dissector.c | |||
@@ -67,8 +67,8 @@ EXPORT_SYMBOL(skb_flow_dissector_init); | |||
67 | * The function will try to retrieve a be32 entity at | 67 | * The function will try to retrieve a be32 entity at |
68 | * offset poff | 68 | * offset poff |
69 | */ | 69 | */ |
70 | __be16 skb_flow_get_be16(const struct sk_buff *skb, int poff, void *data, | 70 | static __be16 skb_flow_get_be16(const struct sk_buff *skb, int poff, |
71 | int hlen) | 71 | void *data, int hlen) |
72 | { | 72 | { |
73 | __be16 *u, _u; | 73 | __be16 *u, _u; |
74 | 74 | ||