wireguard-go/conn
Jason A. Donenfeld bd83f0ac99 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>
2021-05-20 18:09:55 +02:00
..
bindtest all: make conn.Bind.Open return a slice of receive functions 2021-04-02 11:07:08 -06:00
winrio winrio: test that IOCP-based RIO is supported 2021-04-09 14:26:08 -06:00
bind_linux.go conn: linux: protect read fds 2021-05-20 18:09:55 +02:00
bind_std.go conn: reconstruct v4 vs v6 receive function based on symtab 2021-04-12 15:35:32 -06:00
bind_windows.go conn: windows: set count=0 on retry 2021-05-11 16:47:17 +02:00
boundif_android.go conn: make binds replacable 2021-02-23 20:00:57 +01:00
conn.go conn: reconstruct v4 vs v6 receive function based on symtab 2021-04-12 15:35:32 -06:00
default.go conn: implement RIO for fast Windows UDP sockets 2021-02-25 15:08:08 +01:00
mark_default.go conn: make binds replacable 2021-02-23 20:00:57 +01:00
mark_unix.go conn: make binds replacable 2021-02-23 20:00:57 +01:00