wireguard-go/conn
Jordan Whited 07a1e55270 conn: fix getSrcFromControl() iteration
We only expect a single control message in the normal case, but this
would loop infinitely if there were more.

Reviewed-by: Adrian Dewhurst <adrian@tailscale.com>
Signed-off-by: Jordan Whited <jordan@tailscale.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-03-16 17:45:41 +01:00
..
bindtest global: buff -> buf 2023-03-13 17:55:53 +01:00
winrio global: bump copyright year 2023-02-07 20:39:29 -03:00
bind_std_test.go global: buff -> buf 2023-03-13 17:55:53 +01:00
bind_std.go global: buff -> buf 2023-03-13 17:55:53 +01:00
bind_windows.go global: buff -> buf 2023-03-13 17:55:53 +01:00
boundif_android.go conn, device, tun: implement vectorized I/O on Linux 2023-03-10 14:52:17 +01:00
conn_test.go global: buff -> buf 2023-03-13 17:55:53 +01:00
conn.go global: buff -> buf 2023-03-13 17:55:53 +01:00
controlfns_linux.go conn: set SO_{SND,RCV}BUF to 7MB on the Bind UDP socket 2023-03-10 14:52:20 +01:00
controlfns_unix.go conn: set SO_{SND,RCV}BUF to 7MB on the Bind UDP socket 2023-03-10 14:52:20 +01:00
controlfns_windows.go conn: set SO_{SND,RCV}BUF to 7MB on the Bind UDP socket 2023-03-10 14:52:20 +01:00
controlfns.go conn: set SO_{SND,RCV}BUF to 7MB on the Bind UDP socket 2023-03-10 14:52:20 +01:00
default.go conn, device, tun: implement vectorized I/O on Linux 2023-03-10 14:52:17 +01:00
mark_default.go conn, device, tun: implement vectorized I/O on Linux 2023-03-10 14:52:17 +01:00
mark_unix.go conn, device, tun: implement vectorized I/O on Linux 2023-03-10 14:52:17 +01:00
sticky_default.go conn, device, tun: implement vectorized I/O on Linux 2023-03-10 14:52:17 +01:00
sticky_linux_test.go conn: fix getSrcFromControl() iteration 2023-03-16 17:45:41 +01:00
sticky_linux.go conn: fix getSrcFromControl() iteration 2023-03-16 17:45:41 +01:00