From: Eric Dumazet Date: Mon, 9 Feb 2015 04:39:13 +0000 (-0800) Subject: net:rfs: adjust table size checking X-Git-Tag: fixes-v4.0-rc1~150^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93c1af6ca94c1e763efba76a127b5c135e3d23a6;p=pandora-kernel.git 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: Eric Dumazet Fixes: 567e4b79731c ("net: rfs: add hash collision detection") Signed-off-by: David S. Miller --- Reading git-diff-tree failed