diff options
author | David S. Miller <davem@davemloft.net> | 2011-02-22 21:27:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-22 21:27:22 -0500 |
commit | 0730b9a1504cb76f80c97d90ff82f8daeb1243a3 (patch) | |
tree | a30ac4e5c4b34f05bf777bcb862bfaed7bef5b91 | |
parent | b520e9f616f4f29c8d2557ba704b74ce6d79ff07 (diff) |
net: Mark flowi arg to flow_cache_uli_match() const.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/flow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/flow.h b/include/net/flow.h index 1ae901f24436..f4270d4b22c3 100644 --- a/include/net/flow.h +++ b/include/net/flow.h | |||
@@ -112,7 +112,8 @@ extern struct flow_cache_object *flow_cache_lookup( | |||
112 | extern void flow_cache_flush(void); | 112 | extern void flow_cache_flush(void); |
113 | extern atomic_t flow_cache_genid; | 113 | extern atomic_t flow_cache_genid; |
114 | 114 | ||
115 | static inline int flow_cache_uli_match(struct flowi *fl1, struct flowi *fl2) | 115 | static inline int flow_cache_uli_match(const struct flowi *fl1, |
116 | const struct flowi *fl2) | ||
116 | { | 117 | { |
117 | return (fl1->proto == fl2->proto && | 118 | return (fl1->proto == fl2->proto && |
118 | !memcmp(&fl1->uli_u, &fl2->uli_u, sizeof(fl1->uli_u))); | 119 | !memcmp(&fl1->uli_u, &fl2->uli_u, sizeof(fl1->uli_u))); |