mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Grrr. Add one more missing NDIS_UNLOCK().
This commit is contained in:
parent
c4095c0551
commit
31333e7fcb
1 changed files with 3 additions and 1 deletions
|
|
@ -2730,8 +2730,10 @@ ndis_ioctl(ifp, command, data)
|
|||
break;
|
||||
}
|
||||
error = copyin(ifr->ifr_data, &evt, sizeof(evt));
|
||||
if (error)
|
||||
if (error) {
|
||||
NDIS_UNLOCK(sc);
|
||||
break;
|
||||
}
|
||||
if (evt.ne_len < sc->ndis_evt[sc->ndis_evtcidx].ne_len) {
|
||||
error = ENOSPC;
|
||||
NDIS_UNLOCK(sc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue