mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Don't attempt to reference a NULL scb_data area during teardown events
occurring early in initialization. This fixes attachments to the parity engines that FreeBSD doesn't support.
This commit is contained in:
parent
d144b9d240
commit
96dfd8bb97
1 changed files with 2 additions and 0 deletions
|
|
@ -3689,6 +3689,8 @@ ahc_fini_scbdata(struct ahc_softc *ahc)
|
|||
struct scb_data *scb_data;
|
||||
|
||||
scb_data = ahc->scb_data;
|
||||
if (scb_data == NULL)
|
||||
return;
|
||||
|
||||
switch (scb_data->init_level) {
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue