mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-04 07:16:20 +07:00
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: Gao Feng <fgao@ikuai8.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d001648ec7
commit
66fdd05e7a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user