* [PATCH 12/20] net: Mark flowi arg to flow_cache_uli_match() const.
@ 2011-02-23 3:54 David Miller
0 siblings, 0 replies; only message in thread
From: David Miller @ 2011-02-23 3:54 UTC (permalink / raw)
To: netdev
Signed-off-by: David S. Miller <davem@davemloft.net>
---
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 1ae901f..f4270d4 100644
--- 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)));
--
1.7.4.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-23 3:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-23 3:54 [PATCH 12/20] net: Mark flowi arg to flow_cache_uli_match() const David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox