Messages in this thread Patch in this message | | | Date | Fri, 27 Jan 2006 18:21:41 -0800 | From | Greg KH <> | Subject | [patch 12/12] Fix mkiss locking bug |
| |
2.6.15.2 -stable review patch. If anyone has any objections, please let us know.
------------------
From: Ralf Baechle DL5RB <ralf@linux-mips.org>
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); -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |