projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d001648
)
rps: flow_dissector: Add the const for the parameter of flow_keys_have_l4
author
Gao Feng
<fgao@ikuai8.com>
Wed, 31 Aug 2016 03:16:22 +0000
(11:16 +0800)
committer
David S. Miller
<davem@davemloft.net>
Thu, 1 Sep 2016 23:51:08 +0000
(16:51 -0700)
Add the const for the parameter of flow_keys_have_l4 for the readability.
Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_dissector.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/flow_dissector.h
b/include/net/flow_dissector.h
index f266b512c3bdca4bf4274f2b51910aae163ade11..d9534927d93bc46005afb5214ef83c72544385b7 100644
(file)
--- a/
include/net/flow_dissector.h
+++ b/
include/net/flow_dissector.h
@@
-183,7
+183,7
@@
struct flow_keys_digest {
void make_flow_keys_digest(struct flow_keys_digest *digest,
const struct flow_keys *flow);
-static inline bool flow_keys_have_l4(struct flow_keys *keys)
+static inline bool flow_keys_have_l4(
const
struct flow_keys *keys)
{
return (keys->ports.ports || keys->tags.flow_label);
}