diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-20 10:57:33 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-20 10:57:33 -0700 |
commit | e3124d4153bac98da3abb9041a050222efb232cb (patch) | |
tree | 97695b037b0c1cb428fe184f296a7398e760893a | |
parent | c07957c15aa3eabe083d630791408f51061c74a2 (diff) | |
download | longterm-queue-2.6.33-e3124d4153bac98da3abb9041a050222efb232cb.tar.gz |
remove firewire patch
-rw-r--r-- | queue-2.6.33/firewire-sbp2-fix-panic-after-rmmod-with-slow-targets.patch | 43 | ||||
-rw-r--r-- | queue-2.6.33/series | 1 |
2 files changed, 0 insertions, 44 deletions
diff --git a/queue-2.6.33/firewire-sbp2-fix-panic-after-rmmod-with-slow-targets.patch b/queue-2.6.33/firewire-sbp2-fix-panic-after-rmmod-with-slow-targets.patch deleted file mode 100644 index 09e7f1f..0000000 --- a/queue-2.6.33/firewire-sbp2-fix-panic-after-rmmod-with-slow-targets.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 0278ccd9d53e07c4e699432b2fed9de6c56f506c Mon Sep 17 00:00:00 2001 -From: Chris Boot <bootc@bootc.net> -Date: Mon, 22 Aug 2011 21:38:38 +0100 -Subject: firewire: sbp2: fix panic after rmmod with slow targets - -From: Chris Boot <bootc@bootc.net> - -commit 0278ccd9d53e07c4e699432b2fed9de6c56f506c upstream. - -If firewire-sbp2 starts a login to a target that doesn't complete ORBs -in a timely manner (and has to retry the login), and the module is -removed before the operation times out, you end up with a null-pointer -dereference and a kernel panic. - -[SR: This happens because sbp2_target_get/put() do not maintain -module references. scsi_device_get/put() do, but at occasions like -Chris describes one, nobody holds a reference to an SBP-2 sdev.] - -This patch cancels pending work for each unit in sbp2_remove(), which -hopefully means there are no extra references around that prevent us -from unloading. This fixes my crash. - -Signed-off-by: Chris Boot <bootc@bootc.net> -Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> -Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> - ---- - drivers/firewire/sbp2.c | 4 ++++ - 1 file changed, 4 insertions(+) - ---- a/drivers/firewire/sbp2.c -+++ b/drivers/firewire/sbp2.c -@@ -1204,6 +1204,10 @@ static int sbp2_remove(struct device *de - { - struct fw_unit *unit = fw_unit(dev); - struct sbp2_target *tgt = dev_get_drvdata(&unit->device); -+ struct sbp2_logical_unit *lu; -+ -+ list_for_each_entry(lu, &tgt->lu_list, link) -+ cancel_delayed_work_sync(&lu->work); - - sbp2_target_put(tgt); - return 0; diff --git a/queue-2.6.33/series b/queue-2.6.33/series index 8ddc9af..4f2ac86 100644 --- a/queue-2.6.33/series +++ b/queue-2.6.33/series @@ -47,4 +47,3 @@ libsas-fix-panic-when-single-phy-is-disabled-on-a-wide-port.patch ahci-enable-sb600-64bit-dma-on-asus-m3a.patch hid-usbhid-add-support-for-sigma-micro-chip.patch hwmon-w83627ehf-properly-report-thermal-diode-sensors.patch -firewire-sbp2-fix-panic-after-rmmod-with-slow-targets.patch |