Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Gao Feng and committed by
David S. Miller
66fdd05e d001648e

+1 -1
+1 -1
include/net/flow_dissector.h
··· 183 183 void make_flow_keys_digest(struct flow_keys_digest *digest, 184 184 const struct flow_keys *flow); 185 185 186 - static inline bool flow_keys_have_l4(struct flow_keys *keys) 186 + static inline bool flow_keys_have_l4(const struct flow_keys *keys) 187 187 { 188 188 return (keys->ports.ports || keys->tags.flow_label); 189 189 }