From: Eric Dumazet Date: Tue, 7 Dec 2010 12:20:47 +0000 (+0000) Subject: tcp: protect sysctl_tcp_cookie_size reads X-Git-Tag: v2.6.37-rc6~14^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f19872575ff7819a3723154657a497d9bca66b33;p=pandora-kernel.git tcp: protect sysctl_tcp_cookie_size reads Make sure sysctl_tcp_cookie_size is read once in tcp_cookie_size_check(), or we might return an illegal value to caller if sysctl_tcp_cookie_size is changed by another cpu. Signed-off-by: Eric Dumazet Cc: Ben Hutchings Cc: William Allen Simpson Signed-off-by: David S. Miller --- Reading git-diff-tree failed