HomeFreeBSD

sctp: improve consistency of acc and ccc handling in snd buffer

Description

sctp: improve consistency of acc and ccc handling in snd buffer

Don't clear the counters for the socket snd buffer when
shutdown(..., SHUT_WR) or shutdown(..., SHUT_RDWR) is called.
This was causing the system to panic() when SCTP pf tests were
running.

Reported by: dchagin, kp
MFC after: 1 week

Details

Provenance
tuexenAuthored on Aug 4 2023, 6:32 AM
Parents
rGccdb28275db7: vm_phys_enq_range: no alignment assert for npages==0
Branches
Unknown
Tags
Unknown