HomeFreeBSD

udp: fix sending of IPv4-mapped addresses

Description

udp: fix sending of IPv4-mapped addresses

The inp_vflags field must be adjusted during the call of
in_pcbbind_setup(). This is consistent with the other places in the
code, but not elegant at all.

PR: 274009
Approved by: re (gjb)
Reported by: syzbot+81ccc423a2737ed031ac@syzkaller.appspotmail.com
Reported by: syzbot+c8e3dac881bba85bc029@syzkaller.appspotmail.com
Reviewed by: markj, rrs, rscheff
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D42031

(cherry picked from commit abca3ae7734f664ee9c5edc7a9d3a17e29180bdb)
(cherry picked from commit 8209af15a6994d52276be05380e0c0b7ae117cea)

Details

Provenance
tuexenAuthored on Oct 7 2023, 1:56 PM
Reviewer
markj
Differential Revision
D42031: Improve sending UDP messages using IPv6 mapped addresses
Parents
rGd2025992ab68: release: update releng/14.0 from BETA to RC
Branches
Unknown
Tags
Unknown