Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 1997 10:08:46 -0700 (MST)
From:      Nate Williams <nate@mt.sri.com>
To:        current@freebsd.org
Subject:   NCR extraneous data error messages now gone
Message-ID:  <199704011708.KAA02706@rocky.mt.sri.com>

next in thread | raw e-mail | index | archive | help
It looks like it was fixed with the following change:
revision 1.47
date: 1997/03/24 01:46:15;  author: gibbs;  state: Exp;  lines: +3 -1
free_xs must be called at splbio().  This is usually the case since the main
caller is scsi_done which the controller interrupt handlers call.  In the
case of a non-buffer based transaction, the xs structure is freed by the
process that initiated the transfer in scsi_scsi_cmd.  In this case, an
explicit splbio/splx pair around the call to free_xs is required.  Without
the splbio protection, the xs free list could be corrupted, and the type
driver's start routine might run without spl protection.

Submitted by:   Tor Egge <Tor.Egge@idt.ntnu.no>
Obtained from: PR kern/2891

(This was also brought into 2.2 as well)





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704011708.KAA02706>