aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-09-19 09:48:04 -0700
committerDavid S. Miller <davem@davemloft.net>2015-09-21 16:32:29 -0700
commit29c6852602e259d2c1882f320b29d5c3fec0de04 (patch)
tree7a9804d32ed57d2898c67e13e607031341434c7a /net/sunrpc
parenttcp/dccp: fix timewait races in timer handling (diff)
downloadlinux-dev-29c6852602e259d2c1882f320b29d5c3fec0de04.tar.xz
linux-dev-29c6852602e259d2c1882f320b29d5c3fec0de04.zip
inet: fix races in reqsk_queue_hash_req()
Before allowing lockless LISTEN processing, we need to make sure to arm the SYN_RECV timer before the req socket is visible in hash tables. Also, req->rsk_hash should be written before we set rsk_refcnt to a non zero value. Fixes: fa76ce7328b2 ("inet: get rid of central tcp/dccp listener timer") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Ying Cai <ycai@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions