Date: Thu, 9 Sep 2021 16:04:05 GMT From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 0c1a20beb456 - main - sctp: use appropriate argument when freeing association Message-ID: <202109091604.189G45Km064954@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tuexen: URL: https://cgit.FreeBSD.org/src/commit/?id=0c1a20beb4560eaae69202bc49026ab9e2a677a4 commit 0c1a20beb4560eaae69202bc49026ab9e2a677a4 Author: Michael Tuexen <tuexen@FreeBSD.org> AuthorDate: 2021-09-09 16:01:35 +0000 Commit: Michael Tuexen <tuexen@FreeBSD.org> CommitDate: 2021-09-09 16:01:35 +0000 sctp: use appropriate argument when freeing association Reported by: syzbot+7fe26e26911344e7211d@syzkaller.appspotmail.com MFC after: 3 days --- 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 24c6879e1925..6ae35ae2deba 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?202109091604.189G45Km064954>