1. 18 Mar, 2009 38 commits
  2. 17 Mar, 2009 2 commits
    • Masami Hiramatsu's avatar
      module: fix refptr allocation and release order · 6e2b7574
      Masami Hiramatsu authored
      Impact: fix ref-after-free crash on failed module load
      
      Fix refptr bug: Change refptr allocation and release order not to access a module
      data structure pointed by 'mod' after freeing mod->module_core.
      This bug will cause kernel panic(e.g. failed to find undefined symbols).
      
      This bug was reported on systemtap bugzilla.
      http://sources.redhat.com/bugzilla/show_bug.cgi?id=9927Signed-off-by: default avatarMasami Hiramatsu <mhiramat@redhat.com>
      Cc: Eric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
      6e2b7574
    • Thomas Bartosik's avatar
      USB: storage: Unusual USB device Prolific 2507 variation added · 8a0845c5
      Thomas Bartosik authored
      The "c-enter" USB to Toshiba 1.8" IDE enclosure needs special treatment
      to work flawlessly. This patch is absolutely trivial, as the integrated
      USB-IDE bridge is already identified to be an "unusual" device, only the
      bcdDevice is different (lower) to the bcdDeviceMin already included in
      the kernel.
      It is a Prolific 2507 bridge.
      
      T:  Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  4 Spd=480 MxCh= 0
      D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
      P:  Vendor=067b ProdID=2507 Rev= 0.01
      S:  Manufacturer=Prolific Technology Inc.
      S:  Product=ATAPI-6 Bridge Controller
      S:  SerialNumber=00000272
      C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
      I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
      E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      Signed-off-by: default avatarThomas Bartosik <tbartdev@gmx-topmail.de>
      Cc: stable <stable@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      8a0845c5