summaryrefslogtreecommitdiff
path: root/net/econet
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-12-07 12:20:47 +0000
committerDavid S. Miller <davem@davemloft.net>2010-12-08 12:34:09 -0800
commitf19872575ff7819a3723154657a497d9bca66b33 (patch)
tree3c84b591c773611a6c4c00589f69a6639e83b8e0 /net/econet
parentad9f4f50fe9288bbe65b7dfd76d8820afac6a24c (diff)
downloadlinux-3.10-f19872575ff7819a3723154657a497d9bca66b33.tar.gz
linux-3.10-f19872575ff7819a3723154657a497d9bca66b33.tar.bz2
linux-3.10-f19872575ff7819a3723154657a497d9bca66b33.zip
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 <eric.dumazet@gmail.com> Cc: Ben Hutchings <bhutchings@solarflare.com> Cc: William Allen Simpson <william.allen.simpson@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/econet')
0 files changed, 0 insertions, 0 deletions