]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sctp: improve shutdown(..., SHUT_WR) handling
authorMichael Tuexen <tuexen@FreeBSD.org>
Wed, 3 May 2023 15:30:50 +0000 (17:30 +0200)
committerMichael Tuexen <tuexen@FreeBSD.org>
Wed, 3 May 2023 15:33:49 +0000 (17:33 +0200)
commitd9ae4adff2715cfab4a941037ec15aa07108efa1
treed85d91786e135c2ab5740788bdfe0cad71e8dbce
parent81f964e2ffb7cd5d30df0a5c3877900cca4fdd07
sctp: improve shutdown(..., SHUT_WR) handling

When shutdown(..., SHUT_WR) is called in the front states, send a
SHUTDOWN chunk when a COOKIE ACK chunk is received and there is
no outstanding data.

MFC after: 1 week
sys/netinet/sctp_input.c