From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: Crash on WRITE SAME Date: Wed, 2 Jul 2014 11:13:33 -0700 Message-ID: <20140702181333.GA15792@infradead.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Mikulas Patocka Cc: Sagi Grimberg , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Christie , Nicholas Bellinger List-Id: linux-scsi@vger.kernel.org On Wed, Jul 02, 2014 at 02:05:14PM -0400, Mikulas Patocka wrote: > Hi Sagi > > Your commit d77e65350f2d82dfa0557707d505711f5a43c8fd causes crash on SCSI > WRITE SAME command (it can be triggered by issuing the BLKZEROOUT ioctl). > The crash happens in iscsi_tcp_segment_done because sg_next returns NULL. Martin already fixes this over a week ago, we're just waiting for James to send a pull request to Linus. Get this fix from the core-for-3.16 branch of git.infradead.org/users/hch/scsi-queue.git for now.