1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-14 16:55:15 +01:00
wireguard-go/conn
Jason A. Donenfeld b3df23dcd4 conn: set unused OOB to zero length
Otherwise in the event that we're using GSO without sticky sockets, we
pass garbage OOB buffers to sendmmsg, making a EINVAL, when GSO doesn't
set its header.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2023-10-21 19:32:07 +02: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 conn, device: use UDP GSO and GRO on Linux 2023-10-10 15:07:36 +02:00
bind_std.go conn: set unused OOB to zero length 2023-10-21 19:32:07 +02:00
bind_windows.go conn: windows: add missing return statement in DstToString AF_INET 2023-06-27 18:02:50 +02: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, device: use UDP GSO and GRO on Linux 2023-10-10 15:07:36 +02:00
controlfns_unix.go all: adjust build tags for wasip1/wasm 2023-07-04 15:54:42 +02: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
errors_default.go conn, device: use UDP GSO and GRO on Linux 2023-10-10 15:07:36 +02:00
errors_linux.go conn, device: use UDP GSO and GRO on Linux 2023-10-10 15:07:36 +02:00
features_default.go conn, device: use UDP GSO and GRO on Linux 2023-10-10 15:07:36 +02:00
features_linux.go conn: simplify supportsUDPOffload 2023-10-18 21:02:52 +02:00
gso_default.go conn: separate gso and sticky control 2023-10-21 18:44:01 +02:00
gso_linux.go conn: fix cmsg data padding calculation for gso 2023-10-21 19:06:38 +02: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: separate gso and sticky control 2023-10-21 18:44:01 +02:00
sticky_linux_test.go conn: separate gso and sticky control 2023-10-21 18:44:01 +02:00
sticky_linux.go conn: separate gso and sticky control 2023-10-21 18:44:01 +02:00