mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 09:21:31 -05:00
Do not drop Giant around the poll method yet, we're not ready for it.
This commit is contained in:
parent
9b582996a6
commit
bc20ced763
1 changed files with 2 additions and 2 deletions
|
|
@ -382,9 +382,9 @@ spec_poll(ap)
|
|||
("spec_poll() on un-referenced dev_t (%s)", devtoname(dev)));
|
||||
cdevsw_ref(dsw);
|
||||
if (!(dsw->d_flags & D_NEEDGIANT)) {
|
||||
DROP_GIANT();
|
||||
/* XXX: not yet DROP_GIANT(); */
|
||||
error = dsw->d_poll(dev, ap->a_events, ap->a_td);
|
||||
PICKUP_GIANT();
|
||||
/* XXX: not yet PICKUP_GIANT(); */
|
||||
} else
|
||||
error = dsw->d_poll(dev, ap->a_events, ap->a_td);
|
||||
cdevsw_rel(dsw);
|
||||
|
|
|
|||
Loading…
Reference in a new issue