1. 25 6月, 2008 1 次提交
    • D
      [SCSI] esp: Fix OOPS in esp_reset_cleanup(). · eadc49b1
      David S. Miller 提交于
      OOPS reported by Friedrich Oslage <bluebird@porno-bullen.de>
      
      The problem here is that tp->starget is set every time a lun
      is allocated for a particular target so we can catch the
      sdev_target parent value.
      
      The reset handler uses the NULL'ness of this value to determine
      which targets are active.
      
      But esp_slave_destroy() does not NULL out this value when appropriate.
      
      So for every target that doesn't respond, the SCSI bus scan causes
      a stale pointer to be left here, with ensuing crashes like you're
      seeing.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      Cc: Stable Tree <stable@kernel.org>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      eadc49b1
  2. 28 4月, 2008 1 次提交
  3. 11 12月, 2007 1 次提交
  4. 13 10月, 2007 1 次提交
  5. 26 9月, 2007 1 次提交
  6. 18 6月, 2007 1 次提交
  7. 14 6月, 2007 1 次提交
  8. 01 6月, 2007 1 次提交
  9. 08 5月, 2007 1 次提交
  10. 28 4月, 2007 1 次提交
  11. 27 4月, 2007 1 次提交
    • D
      [SCSI] SUNESP: Complete driver rewrite to version 2.0 · cd9ad58d
      David S. Miller 提交于
      Major features:
      
      1) Tagged queuing support.
      2) Will properly negotiate for synchronous transfers even on
         devices that reject the wide negotiation message, such as
         CDROMs
      3) Significantly lower kernel stack usage in interrupt
         handler path by elimination of function vector arrays,
         replaced by a top-level switch statement state machine.
      4) Uses generic scsi infrastructure as much as possible to
         avoid code duplication.
      5) Automatic request of sense data in response to CHECK_CONDITION
      6) Portable to other platforms using ESP such as DEC and Sun3
         systems.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cd9ad58d