svn commit: r277510 - head/sys/dev/firewire
Will Andrews
will at FreeBSD.org
Wed Jan 21 20:06:26 UTC 2015
Author: will
Date: Wed Jan 21 20:06:25 2015
New Revision: 277510
URL: https://svnweb.freebsd.org/changeset/base/277510
Log:
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
Modified:
head/sys/dev/firewire/firewire.c
Modified: head/sys/dev/firewire/firewire.c
==============================================================================
--- head/sys/dev/firewire/firewire.c Wed Jan 21 20:05:10 2015 (r277509)
+++ head/sys/dev/firewire/firewire.c Wed Jan 21 20:06:25 2015 (r277510)
@@ -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++)
More information about the svn-src-head
mailing list