diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-12-07 12:20:47 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-01-07 13:58:26 -0800 |
commit | 2efb9908d6ac415d69b2688b684799c51eb844fd (patch) | |
tree | 8925144283efebceaa48bee5cf958c58d353d789 /Documentation/aoe | |
parent | 90548909f7ff41934b9f719e9331695695cb3988 (diff) |
tcp: protect sysctl_tcp_cookie_size reads
[ Upstream commit f19872575ff7819a3723154657a497d9bca66b33 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/aoe')
0 files changed, 0 insertions, 0 deletions