Commit Graph
3 Commits
Author SHA1 Message Date
James Tucker 42ec952ead go.mod,tun/netstack: bump gvisor
Signed-off-by: James Tucker <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
2023-10-10 15:37:17 +02:00
James Tucker ec8f6f82c2 tun: fix crash when ForceMTU is called after close
Close closes the events channel, resulting in a panic from send on
closed channel.

Reported-By: Brad Fitzpatrick <[email protected]>
Signed-off-by: James Tucker <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
2023-10-10 15:37:17 +02:00
James Tucker 25eb973e00 conn: store IP_PKTINFO cmsg in StdNetendpoint src
Replace the src storage inside StdNetEndpoint with a copy of the raw
control message buffer, to reduce allocation and perform less work on a
per-packet basis.

Signed-off-by: James Tucker <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
2023-06-27 17:48:32 +02:00