diff options
author | Jordan Whited <jordan@tailscale.com> | 2023-03-14 20:02:24 -0700 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-03-16 17:45:41 +0100 |
commit | fff53afca779078061128a5a10c31e67a7919d35 (patch) | |
tree | ef321d142b7efb9134b6206c8ae5540b9e276298 /rwcancel/rwcancel.go | |
parent | 0ad14a89f5f9da577dae6a63ad196015e51a0381 (diff) |
conn: use CmsgSpace() for ancillary data buf sizing
CmsgLen() does not account for data alignment.
Reviewed-by: Adrian Dewhurst <adrian@tailscale.com>
Signed-off-by: Jordan Whited <jordan@tailscale.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'rwcancel/rwcancel.go')
0 files changed, 0 insertions, 0 deletions