mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 01:28:00 -04:00
missed additional callout that can run w/o Giant locked
This commit is contained in:
parent
d7cd6ba39b
commit
87cb581aa4
1 changed files with 2 additions and 1 deletions
|
|
@ -658,7 +658,8 @@ hifn_init_pubrng(struct hifn_softc *sc)
|
|||
sc->sc_rnghz = hz / 100;
|
||||
else
|
||||
sc->sc_rnghz = 1;
|
||||
callout_init(&sc->sc_rngto, 0);
|
||||
/* NB: 1 means the callout runs w/o Giant locked */
|
||||
callout_init(&sc->sc_rngto, 1);
|
||||
callout_reset(&sc->sc_rngto, sc->sc_rnghz, hifn_rng, sc);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue