aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/inet_sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/inet_sock.h')
-rw-r--r--include/net/inet_sock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/inet_sock.h b/include/net/inet_sock.h
index b487bc1b99ab..c1d42957b86b 100644
--- a/include/net/inet_sock.h
+++ b/include/net/inet_sock.h
@@ -248,7 +248,7 @@ static inline void inet_rps_reset_flow(const struct sock *sk)
248#endif 248#endif
249} 249}
250 250
251static inline void inet_rps_save_rxhash(const struct sock *sk, u32 rxhash) 251static inline void inet_rps_save_rxhash(struct sock *sk, u32 rxhash)
252{ 252{
253#ifdef CONFIG_RPS 253#ifdef CONFIG_RPS
254 if (unlikely(inet_sk(sk)->rxhash != rxhash)) { 254 if (unlikely(inet_sk(sk)->rxhash != rxhash)) {