]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove extra memset() left after r342388.
authorAlexander Motin <mav@FreeBSD.org>
Tue, 4 Aug 2020 19:27:03 +0000 (19:27 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Tue, 4 Aug 2020 19:27:03 +0000 (19:27 +0000)
commitf0f2014387364ba341d66600d6528a8a19ecb9d3
tree1c2ac53fff0b5862edbc3b207fb3bb59838db236
parent776b260ae2ec0e4b9ad241541dd5f6d4dba1a0bd
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