1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Fix firewire panic when issuing a reply to an unhandled

asynchronous remote dma request (DMA request that the
hardware cannot automatically handle).

sys/dev/firewire/firewire.c
	In fw_rcv(), add missing early return in the error
	path for DMA requests to unregistered regions.

Submitted by:	gibbs
MFC after:	1 week
Sponsored by:	Spectra Logic
MFSpectraBSD:	1110993 on 2015/01/06
This commit is contained in:
Will Andrews 2015-01-21 20:06:25 +00:00
parent ed80123329
commit 4dd896995c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277510

View File

@ -2030,6 +2030,7 @@ fw_rcv(struct fw_rcv_buf *rb)
rb->xfer->hand = fw_xfer_free;
if (fw_asyreq(rb->fc, -1, rb->xfer))
fw_xfer_free(rb->xfer);
return;
}
len = 0;
for (i = 0; i < rb->nvec; i++)