diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2026-09-21 14:05:01 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2026-09-21 14:05:01 +0000 |
| commit | fecb9537a83b6746bc731a7cb3bcf6a33df79562 (patch) | |
| tree | 32cc5ec903a4dadb6d1ee845c6e00f9a243c3532 /sys/dev/evdev/(developers-only) | |
| parent | e376d28ce86135a12e3a9b31ca31fe80c59611be (diff) | |
udp: Let jail policy rewrite the dstaddr for v6 sendto()s
When performing an unconnected sendto() on a v6 UDP socket in a classic
jail, we were not applying the usual policy of replacing the loopback
addr with the jail's primary IP. Compare with, e.g., udp6_connect() or
the IPv4 udp_send(). Fix that.
Reported by: Yuxiang Yang, Yizhou Zhao, Ao Wang, Xuewei Feng, Qi Li,
and Ke Xu from Tsinghua University using GLM-5.1 from Z.ai
Reviewed by: bz, glebius
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D59772
Diffstat (limited to 'sys/dev/evdev/(developers-only)')
0 files changed, 0 insertions, 0 deletions
