HomeFreeBSD

sctp: do not clobber listening socket with sockbuf operations

Description

sctp: do not clobber listening socket with sockbuf operations

The problem was here since 779f106aa16, but a4fc41423f7 turned it
into a panic.

Reviewed by: tuexen
Reported by: syzcaller

(cherry picked from commit bafe71fd27201523ae91ef8320f551a609cda1a1)

Details

Provenance
glebiusAuthored on Jun 27 2022, 4:21 PM
tuexenCommitted on Feb 1 2023, 11:27 PM
Parents
rG4f6edd4a4c2b: sctp: add KASSERTs to ensure correct handling of listeners
Branches
Unknown
Tags
Unknown