diff --git a/include/net/flow_dissector.h b/include/net/flow_dissector.h index f266b512c3bdca4bf4274f2b51910aae163ade11..d9534927d93bc46005afb5214ef83c72544385b7 100644 --- a/include/net/flow_dissector.h +++ b/include/net/flow_dissector.h @@ -183,7 +183,7 @@ struct flow_keys_digest { void make_flow_keys_digest(struct flow_keys_digest *digest, const struct flow_keys *flow); -static inline bool flow_keys_have_l4(struct flow_keys *keys) +static inline bool flow_keys_have_l4(const struct flow_keys *keys) { return (keys->ports.ports || keys->tags.flow_label); }