The branch main has been updated by tuexen:

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

commit 0c1a20beb4560eaae69202bc49026ab9e2a677a4
Author:     Michael Tuexen <[email protected]>
AuthorDate: 2021-09-09 16:01:35 +0000
Commit:     Michael Tuexen <[email protected]>
CommitDate: 2021-09-09 16:01:35 +0000

    sctp: use appropriate argument when freeing association
    
    Reported by:    [email protected]
    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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to