mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix possible SLIOCSUNIT panic
PR: 16564 Submitted by: ru Approved by: jkh
This commit is contained in:
parent
de8050f9b8
commit
df2ef4c180
1 changed files with 1 additions and 0 deletions
|
|
@ -402,6 +402,7 @@ sltioctl(tp, cmd, data, flag, p)
|
|||
clist_alloc_cblocks(&tp->t_outq,
|
||||
SLIP_HIWAT + 2 * sc->sc_if.if_mtu + 1,
|
||||
SLIP_HIWAT + 2 * sc->sc_if.if_mtu + 1);
|
||||
sl_compress_init(&sc->sc_comp, -1);
|
||||
goto slfound;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue