Skip to contentSkip to conversation

net: Mark flowi arg to flow_cache_uli_match() const.

PATCH New David Miller 1 participant 1 message Feb 23, 2011

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 12/20 net: Mark flowi arg to flow_cache_uli_match() const.

---
 include/net/flow.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
include/net/flow.h +2 -1
index 1ae901f..f4270d4 100644
@@ -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)));
Signature · 1 line
1.7.4.1