]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r280388 (by benno): Be consistent with M_ZERO when allocating ccbs.
authormav <mav@FreeBSD.org>
Mon, 5 Oct 2015 07:36:16 +0000 (07:36 +0000)
committermav <mav@FreeBSD.org>
Mon, 5 Oct 2015 07:36:16 +0000 (07:36 +0000)
commitfece49cfcc0dfeb2749b38f68576fa7066938795
treedf6d4a5a71c7c0bdd60759a9c11f017deccf5a80
parentf3e1fd582ee826d78d5b027d832a2148470c5b85
MFC r280388 (by benno): Be consistent with M_ZERO when allocating ccbs.

There are four places, all in cam_xpt.c, where ccbs are malloc'ed. Two of
these use M_ZERO, two don't. The two that don't meant that allocated ccbs
had trash in them making it hard to debug errors where they showed up. Due
to this, use M_ZERO all the time when allocating ccbs.
sys/cam/cam_xpt.c