mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
For now, restore an splx(s) I removed when introducing slisunitfree().
This commit is contained in:
parent
f853699a55
commit
445a8f0348
1 changed files with 3 additions and 1 deletions
|
|
@ -469,8 +469,10 @@ sltioctl(tp, cmd, data, flag, td)
|
|||
return (ENXIO);
|
||||
}
|
||||
if (sc->sc_if.if_dunit != unit) {
|
||||
if (!slisunitfree(unit))
|
||||
if (!slisunitfree(unit)) {
|
||||
splx(s);
|
||||
return (ENXIO);
|
||||
}
|
||||
|
||||
wasup = sc->sc_if.if_flags & IFF_UP;
|
||||
bpfdetach(&sc->sc_if);
|
||||
|
|
|
|||
Loading…
Reference in a new issue