The branch main has been updated by tuexen:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=bdb99f6f5e311cded759abceee8ee17c951a3b8d

commit bdb99f6f5e311cded759abceee8ee17c951a3b8d
Author:     Michael Tuexen <[email protected]>
AuthorDate: 2022-02-20 14:59:21 +0000
Commit:     Michael Tuexen <[email protected]>
CommitDate: 2022-02-20 14:59:21 +0000

    sctp: remove KASSERT() which not always holds
    
    Reported by:    [email protected]
    MFC after:      3 days
---
 sys/netinet/sctp_output.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index 43804b161cda..a46264cd3efe 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -13696,8 +13696,6 @@ skip_out_eof:
        KASSERT(stcb != NULL, ("stcb is NULL"));
        KASSERT(hold_tcblock, ("hold_tcblock is false"));
        SCTP_TCB_LOCK_ASSERT(stcb);
-       KASSERT((asoc->state & SCTP_STATE_ABOUT_TO_BE_FREED) == 0,
-           ("Association about to be freed"));
 
 out:
 out_unlocked:

Reply via email to