projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b520e9f
)
net: Mark flowi arg to flow_cache_uli_match() const.
author
David S. Miller
<davem@davemloft.net>
Wed, 23 Feb 2011 02:27:22 +0000
(18:27 -0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 23 Feb 2011 02:27:22 +0000
(18:27 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow.h
patch
|
blob
|
history
diff --git
a/include/net/flow.h
b/include/net/flow.h
index 1ae901f244368415e369996a14914a601cc00644..f4270d4b22c33a87bb20d1d494baeb0c875a26cb 100644
(file)
--- a/
include/net/flow.h
+++ b/
include/net/flow.h
@@
-112,7
+112,8
@@
extern struct flow_cache_object *flow_cache_lookup(
extern void flow_cache_flush(void);
extern atomic_t flow_cache_genid;
-static inline int flow_cache_uli_match(struct flowi *fl1, struct flowi *fl2)
+static inline int flow_cache_uli_match(const struct flowi *fl1,
+ const struct flowi *fl2)
{
return (fl1->proto == fl2->proto &&
!memcmp(&fl1->uli_u, &fl2->uli_u, sizeof(fl1->uli_u)));