mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix the cleanup handling in a error path for TCP BBR.
Reported by: syzbot+df7899c55c4cc52f5447@syzkaller.appspotmail.com Reviewed by: rscheff Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D25486
This commit is contained in:
parent
e4fc3b653a
commit
e54b7cd007
1 changed files with 2 additions and 0 deletions
|
|
@ -13381,6 +13381,8 @@ send:
|
|||
*/
|
||||
BBR_STAT_INC(bbr_offset_drop);
|
||||
tcp_set_inp_to_drop(inp, EFAULT);
|
||||
SOCKBUF_UNLOCK(sb);
|
||||
(void)m_free(m);
|
||||
return (0);
|
||||
}
|
||||
len = rsm->r_end - rsm->r_start;
|
||||
|
|
|
|||
Loading…
Reference in a new issue