HomeFreeBSD

udp[6]_multi_input: Don't unlock freed inp.

Description

udp[6]_multi_input: Don't unlock freed inp.

If udp[6]_append() returns non-zero, it is because the inp has gone
away (inpcbrele_rlocked returned 1 after running the tunnel function).

Reviewed by: ae
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D37511

Details

Provenance
jhbAuthored on Nov 30 2022, 10:38 PM
Reviewer
ae
Differential Revision
D37511: udp[6]_multi_input: Don't unlock freed inp.
Parents
rG79b679942352: ether_demux: Defer stripping the Ethernet header.
Branches
Unknown
Tags
Unknown