]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
gnop: make sure that newly allocated memory for softc is zeroed
authormjg <mjg@FreeBSD.org>
Wed, 23 Oct 2013 01:34:18 +0000 (01:34 +0000)
committermjg <mjg@FreeBSD.org>
Wed, 23 Oct 2013 01:34:18 +0000 (01:34 +0000)
commitc2c7122a9acb661af8242f2edcf1dff4655de7f8
tree03c46e13521d55d8fff884357dec892275b6e028
parentd8ca131ea8aa165c95b4a9fde3769e33bfb5ffa7
gnop: make sure that newly allocated memory for softc is zeroed

This prevents mtx_init from encountering non-zeros and panicking
the kernel as a result.

Reported by: Keith White <kwhite site.uottawa.ca>
sys/geom/nop/g_nop.c