Kenneth D. Merry 8220f9ac52 For CCBs allocated on the stack, we need to clear the entire CCB, not just
the header.  Otherwise stack garbage can lead to random flags getting set.

This showed up as 'camcontrol rescan all' failing with EINVAL because the
address type wasn't CAM_DATA_VADDR.

sbin/camcontrol/camcontrol.c:
	In rescan_or_reset_bus(), bzero the stack-allocated CCBs before
	use instead of clearing the body.

MFC after:	3 days
Sponsored by:	Spectra Logic
2016-10-20 19:42:26 +00:00
..
2016-10-05 19:49:48 +00:00
2016-10-05 20:01:09 +00:00
2016-10-08 12:53:23 +00:00
2016-10-05 20:08:07 +00:00
2016-10-02 23:26:41 +00:00
2016-10-02 23:30:28 +00:00
2016-05-02 01:40:31 +00:00
2016-10-05 20:31:44 +00:00
2016-10-02 23:48:33 +00:00
2016-04-19 04:52:13 +00:00
2016-04-19 04:52:51 +00:00
2016-10-02 23:56:08 +00:00
2016-10-05 20:42:35 +00:00
2016-10-05 20:45:21 +00:00
2016-10-03 00:40:20 +00:00
2016-10-03 00:42:25 +00:00
2016-04-20 01:35:09 +00:00