sctp: use appropriate argument when freeing association
Reported by: syzbot+7fe26e26911344e7211d@syzkaller.appspotmail.com MFC after: 3 days
This commit is contained in:
parent
635eb7ac79
commit
0c1a20beb4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user