diff options
author | Alexander Aring <[email protected]> | 2022-10-27 16:45:12 -0400 |
---|---|---|
committer | David Teigland <[email protected]> | 2022-11-08 12:59:41 -0600 |
commit | f0f4bb431bd543ed7bebbaea3ce326cfcd5388bc (patch) | |
tree | a95bfd2702d2804844ddf67ea061c8bcc738cc52 /scripts/generate_rust_analyzer.py | |
parent | 08ae0547e75ec3d062b6b6b9cf4830c730df68df (diff) |
fs: dlm: retry accept() until -EAGAIN or error returns
This patch fixes a race if we get two times an socket data ready event
while the listen connection worker is queued. Currently it will be
served only once but we need to do it (in this case twice) until we hit
-EAGAIN which tells us there is no pending accept going on.
This patch wraps an do while loop until we receive a return value which
is different than 0 as it was done before commit d11ccd451b65 ("fs: dlm:
listen socket out of connection hash").
Cc: [email protected]
Fixes: d11ccd451b65 ("fs: dlm: listen socket out of connection hash")
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: David Teigland <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions