From: David S. Miller Date: Wed, 23 Feb 2011 02:27:22 +0000 (-0800) Subject: net: Mark flowi arg to flow_cache_uli_match() const. X-Git-Tag: v3.0~1578^2~297 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0730b9a1504cb76f80c97d90ff82f8daeb1243a3;p=platform%2Fkernel%2Flinux-amlogic.git net: Mark flowi arg to flow_cache_uli_match() const. Signed-off-by: David S. Miller --- 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)));