]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove extra memset() left after r342388.
authormav <mav@FreeBSD.org>
Tue, 4 Aug 2020 19:27:03 +0000 (19:27 +0000)
committermav <mav@FreeBSD.org>
Tue, 4 Aug 2020 19:27:03 +0000 (19:27 +0000)
commitfb7f4849a14244c99f78194b74af8f4d22a71ac8
tree1c2ac53fff0b5862edbc3b207fb3bb59838db236
parentd36abc37b14996a93cac100570e1e1e0837c6380
Remove extra memset() left after r342388.

This memset() wiped MPI2_FUNCTION_SCSI_TASK_MGMT set by mprsas_alloc_tm(),
that broke target reset on device removal, making later re-insertion into
the same slot impossible, since firmware was still waiting for the driver
to finish with the removed device.

MFC after: 1 week
Sponsored by: iXsystems, Inc.
sys/dev/mpr/mpr_sas.c
sys/dev/mps/mps_sas.c