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:
grehan 2013-04-05 22:14:07 +00:00
parent e50561d064
commit 9b0ba3c866

View File

@ -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);
}