wireguard-go/tun
Tobias Klauser eae5e0f3a3 tun: avoid leaking sock fd in CreateTUN error cases
At these points, the socket file descriptor is not yet wrapped in an
*os.File, so it needs to be closed explicitly on error.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-09-23 09:53:49 -06:00
..
netstack tun/netstack: update go mod and remove GSO argument 2021-05-06 11:07:26 +02:00
tuntest global: remove TODO name graffiti 2021-02-23 20:00:57 +01:00
wintun memmod: register exception handler tables 2021-08-05 14:56:48 +02:00
alignment_windows_test.go tun: format 2021-05-07 12:21:27 +02:00
operateonfd.go global: add new go 1.17 build comments 2021-09-05 16:00:43 +02:00
tun_darwin.go tun: avoid leaking sock fd in CreateTUN error cases 2021-09-23 09:53:49 -06:00
tun_freebsd.go tun: format 2021-05-07 12:21:27 +02:00
tun_linux.go tun: avoid leaking sock fd in CreateTUN error cases 2021-09-23 09:53:49 -06:00
tun_openbsd.go tun: make NativeTun.Close well behaved, not crash on double close 2021-02-22 15:26:29 +01:00
tun_windows.go tun: windows: set event before waiting 2021-05-07 09:26:24 +02:00
tun.go global: bump copyright 2021-01-28 17:52:15 +01:00