HBSD: fix Malloc_domainset_aligned with Marvell ethernet controllers
The commit f3ea417f "x86 busdma_bounce: use malloc_domainset_aligned(9)." has generated the error "malloc_domainset_aligned: align 0x8000 (size0xc00) too large" if Marvell Ethernet controller (msk) is used in HardenedBSD.
We are restoring an old condition for the alignment to correct the problem.
- Signed-off-by: Loic loic.f@hardenedbsd.org
- Reported-by: Loic loic.f@hardenedbsd.org
- Reported-by: Maxime Guillemin @Maxime_Gui
- Issue: #33 (closed) and #65 (closed)
- MFC-to: 13-STABLE
- MFC-to: 12-STABLE