]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't allocate full XCMD_SIZE (512 bytes) on stack.
authorAlexander Motin <mav@FreeBSD.org>
Wed, 18 Nov 2020 02:12:51 +0000 (02:12 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Wed, 18 Nov 2020 02:12:51 +0000 (02:12 +0000)
commit57713eda855566f2d0e078f05cad553300d599d3
tree74783d0a2c245294be3b596058eb94c2c5ce5039
parentdd4f81cd0632111a4d5fe87282eb830301a3dcee
Don't allocate full XCMD_SIZE (512 bytes) on stack.

We need only 24 bytes (fcp_rsp_iu_t) there for isp_put_fcp_rsp_iu().

MFC after: 1 month
sys/dev/isp/isp_freebsd.c