Skip to content
Commit 93c1af6c authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net:rfs: adjust table size checking



Make sure root user does not try something stupid.

Also make sure mask field in struct rps_sock_flow_table
does not share a cache line with the potentially often dirtied
flow table.

Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Fixes: 567e4b79 ("net: rfs: add hash collision detection")
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent acde2c2d
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