]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Ensure the DPCPU and VNET module spaces are aligned to hold a pointer.
authorAndrew Turner <andrew@FreeBSD.org>
Mon, 30 Jul 2018 14:25:17 +0000 (14:25 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Mon, 30 Jul 2018 14:25:17 +0000 (14:25 +0000)
commitcd2106eaeae07920decf8d9535bac49bbd816f7b
tree8a71335cf5f59244fada76d5426d08a8546e8217
parentd0a179019f599cbd27c2f80daec4b074c886a6d0
Ensure the DPCPU and VNET module spaces are aligned to hold a pointer.
Previously they may have been aligned to a char, leading to misaligned
DPCPU and VNET variables.

Sponsored by: DARPA, AFRL
sys/kern/subr_pcpu.c
sys/net/vnet.c