]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
another patch
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Jan 2006 21:11:26 +0000 (13:11 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Jan 2006 21:11:26 +0000 (13:11 -0800)
queue/fix-mkiss-locking-bug.patch [new file with mode: 0644]
queue/series

diff --git a/queue/fix-mkiss-locking-bug.patch b/queue/fix-mkiss-locking-bug.patch
new file mode 100644 (file)
index 0000000..6e662a9
--- /dev/null
@@ -0,0 +1,29 @@
+From stable-bounces@linux.kernel.org Thu Jan 19 09:30:47 2006
+Date: Thu, 19 Jan 2006 17:29:52 +0000
+From: Ralf Baechle DL5RB <ralf@linux-mips.org>
+To: stable@kernel.org
+Message-ID: <20060119172952.GA15302@linux-mips.org>
+Content-Disposition: inline
+Cc: 
+Subject: Fix mkiss locking bug
+
+ax_encaps() forgot to drop the bufferlock at the end of the function.
+Patch is already in 2.6.16-rc1.
+
+Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ drivers/net/hamradio/mkiss.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- linux-2.6.15.1.orig/drivers/net/hamradio/mkiss.c
++++ linux-2.6.15.1/drivers/net/hamradio/mkiss.c
+@@ -515,6 +515,7 @@ static void ax_encaps(struct net_device 
+                       count = kiss_esc(p, (unsigned char *)ax->xbuff, len);
+               }
+       }
++      spin_unlock_bh(&ax->buflock);
+       set_bit(TTY_DO_WRITE_WAKEUP, &ax->tty->flags);
+       actual = ax->tty->driver->write(ax->tty, ax->xbuff, count);
index 6de8bb08a2c0c9997024caea62de38e3778e4428..b792260ea213011d1871a69fb9871d74698586b3 100644 (file)
@@ -10,3 +10,4 @@ mask-off-GFP-flags-before-swiotlb_alloc_coherent.patch
 pci-handle-bogus-mcfg-entries.patch
 someone-broke-reiserfs-v3-mount-options-and-this-fixes-it.patch
 fix-i2o_scsi-oops-on-abort.patch
+fix-mkiss-locking-bug.patch