HomeFreeBSD

In udp_input() when walking the pcblist we can come across

Description

In udp_input() when walking the pcblist we can come across
an inp marked FREED after the epoch(9) changes.
Check once we hold the lock and skip the inp if it is the case.

Contrary to IPv6 the locking of the inp is outside the multicast
section and hence a single check seems to suffice.

PR: 232192
Reviewed by: mmacy, markj
Approved by: re (kib)
Differential Revision: https://reviews.freebsd.org/D17540

Details

Provenance
bzAuthored on
Reviewer
mmacy
Differential Revision
D17540: In udp_input() validate inp before use after epoch(9).
Parents
rS339338: ixl/iavf(4): Change ixlv to iavf and update it to use iflib(9)
Branches
Unknown
Tags
Unknown