diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-20 18:09:55 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-20 18:09:55 +0200 |
commit | bd83f0ac993bc5bee0b0f96c74d24cab142ba385 (patch) | |
tree | 07e339d5d06b4e688ad3d0256ecf49b944a9e76e /version.go | |
parent | 50d779833e4457f5a2bed788d4048939db8e9fe7 (diff) |
conn: linux: protect read fds
The -1 protection was removed and the wrong error was returned, causing
us to read from a bogus fd. As well, remove the useless closures that
aren't doing anything, since this is all synchronized anyway.
Fixes: 10533c3 ("all: make conn.Bind.Open return a slice of receive functions")
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'version.go')
0 files changed, 0 insertions, 0 deletions