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

(cherry picked from commit efb04fb404b240a99c618e49174cd6260217edaa)

Details

Provenance
tuexenAuthored on Aug 4 2023, 6:32 AM
Parents
rGf141ff9935fd: sctp: keep sb_acc and sb_ccc in sync
Branches
Unknown
Tags
Unknown