summaryrefslogtreecommitdiffhomepage
path: root/tun/tun_linux.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-10-21 19:32:07 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2023-10-21 19:32:07 +0200
commitb3df23dcd40ba4568572f338f9fd16b87053fc29 (patch)
tree4495bae6a9035944aa74f9ee441cb4d5e3309982 /tun/tun_linux.go
parentf502ec3fad116d11109529bcf283e464f4822c18 (diff)
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>
Diffstat (limited to 'tun/tun_linux.go')
0 files changed, 0 insertions, 0 deletions