diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-10-21 19:32:07 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-10-21 19:32:07 +0200 |
commit | b3df23dcd40ba4568572f338f9fd16b87053fc29 (patch) | |
tree | 4495bae6a9035944aa74f9ee441cb4d5e3309982 /tun/tun_linux.go | |
parent | f502ec3fad116d11109529bcf283e464f4822c18 (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