Bug 13893
Summary: | NULL pointer dereference by SRP initiator after restarting SRP target followed by SCSI reset of initiator | ||
---|---|---|---|
Product: | Drivers | Reporter: | Bart Van Assche (bvanassche) |
Component: | Infiniband/RDMA | Assignee: | drivers_infiniband-rdma |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | florian |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.30.3 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Bart Van Assche
2009-08-02 17:57:41 UTC
See also http://lists.openfabrics.org/pipermail/general/2009-August/061221.html for a proposed patch. Note: the steps explained above do not always trigger this phenomenon. The following sequence always triggers the NULL pointer dereference: [ target ] /etc/init.d/scst restart [initiator] rmmod ib_srp; modprobe ib_srp; ibsrpdm -c | while readtarget_info; do echo "${target_info}"; echo "${target_info}" >/sys/class/infiniband_srp/srp-mlx4_0-1/add_target; done [ target ] rmmod ib_srpt [initiator] sg_reset -d ${srp_device} fixed in 2.6.38-rc1: commit f8b6e31e4e46bf514c27fce38783ed5615cca01d Author: David Dillow <dillowda@ornl.gov> Date: Fri Nov 26 13:02:21 2010 -0500 IB/srp: allow task management without a previous request |