Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66fdd05e authored by Gao Feng's avatar Gao Feng Committed by David S. Miller
Browse files

rps: flow_dissector: Add the const for the parameter of flow_keys_have_l4



Add the const for the parameter of flow_keys_have_l4 for the readability.

Signed-off-by: default avatarGao Feng <fgao@ikuai8.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d001648e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}