diff options
| author | Eric Dumazet <[email protected]> | 2010-12-07 12:20:47 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-12-08 20:34:09 +0000 |
| commit | f19872575ff7819a3723154657a497d9bca66b33 (patch) | |
| tree | 3c84b591c773611a6c4c00589f69a6639e83b8e0 /net/unix/af_unix.c | |
| parent | tcp: avoid a possible divide by zero (diff) | |
| download | kernel-f19872575ff7819a3723154657a497d9bca66b33.tar.gz kernel-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 <[email protected]>
Cc: Ben Hutchings <[email protected]>
Cc: William Allen Simpson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
