Commit 18f9f136 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

rps: inet_rps_save_rxhash() argument is not const

const qualifier on sock argument is misleading, since we can modify rxhash.
Signed-off-by: default avatarEric Dumazet <>
Signed-off-by: default avatarDavid S. Miller <>
parent 6c37e5de
......@@ -248,7 +248,7 @@ static inline void inet_rps_reset_flow(const struct sock *sk)
static inline void inet_rps_save_rxhash(const struct sock *sk, u32 rxhash)
static inline void inet_rps_save_rxhash(struct sock *sk, u32 rxhash)
if (unlikely(inet_sk(sk)->rxhash != rxhash)) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment