config checksum is over the entire fixed portion, not just the
config header. FreeBSD doesn't check this but other o/s's do. Obtained from: NetApp
This commit is contained in:
parent
e50561d064
commit
9b0ba3c866
@ -395,7 +395,7 @@ mptable_build(struct vmctx *ctx, int ncpu, int ioapic)
|
||||
}
|
||||
|
||||
mpch->base_table_length = curraddr - (char *)mpch;
|
||||
mpch->checksum = mpt_compute_checksum(mpch, sizeof(*mpch));
|
||||
mpch->checksum = mpt_compute_checksum(mpch, mpch->base_table_length);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user