Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2022 22:42:00 GMT
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 5fb0f68396fc - stable/13 - sctp: use appropriate argument when freeing association
Message-ID:  <202202222242.21MMg06W052805@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by tuexen:

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

commit 5fb0f68396fcb5293bc50e316010c6f5e84d1e18
Author:     Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2021-09-09 16:01:35 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2022-02-22 22:41:37 +0000

    sctp: use appropriate argument when freeing association
    
    Reported by:    syzbot+7fe26e26911344e7211d@syzkaller.appspotmail.com
    
    (cherry picked from commit 0c1a20beb4560eaae69202bc49026ab9e2a677a4)
---
 sys/netinet/sctp_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index de9b1e129280..ce08c8139015 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -12757,7 +12757,7 @@ sctp_lower_sosend(struct socket *so,
 
 			if (control) {
 				if (sctp_process_cmsgs_for_init(stcb, control, &error)) {
-					sctp_free_assoc(inp, stcb, SCTP_PCBFREE_FORCE,
+					sctp_free_assoc(inp, stcb, SCTP_NORMAL_PROC,
 					    SCTP_FROM_SCTP_OUTPUT + SCTP_LOC_6);
 					hold_tcblock = 0;
 					stcb = NULL;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202222242.21MMg06W052805>