HomeFreeBSD

sctp: cleanup locking for notifications

Description

sctp: cleanup locking for notifications

All notifications are now queued via sctp_ulp_notify(). Do
the locking of the inp read lock there and validate this in all
functions being used.
This is one step in avoiding race conditions when closing the
read end of an SCTP socket.

MFC after: 3 days

Details

Provenance
tuexenAuthored on Sep 8 2023, 2:20 PM
Parents
rG48514c5724cd: mountd: do not warn about using class mask with -mask
Branches
Unknown
Tags
Unknown