/[linux-patches]/genpatches-2.6/tags/2.6.15-11/1020_2_mkiss-locking.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.15-11/1020_2_mkiss-locking.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 351 - (show annotations) (download)
Wed Mar 29 11:55:38 2006 UTC (11 years, 8 months ago) by dsd
File size: 949 byte(s)
2.6.15-11 release
1 From stable-bounces@linux.kernel.org Thu Jan 19 09:30:47 2006
2 Date: Thu, 19 Jan 2006 17:29:52 +0000
3 From: Ralf Baechle DL5RB <ralf@linux-mips.org>
4 To: stable@kernel.org
5 Message-ID: <20060119172952.GA15302@linux-mips.org>
6 Content-Disposition: inline
7 Cc:
8 Subject: Fix mkiss locking bug
9
10 ax_encaps() forgot to drop the bufferlock at the end of the function.
11 Patch is already in 2.6.16-rc1.
12
13 Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
14 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15
16 ---
17 drivers/net/hamradio/mkiss.c | 1 +
18 1 file changed, 1 insertion(+)
19
20 --- linux-2.6.15.1.orig/drivers/net/hamradio/mkiss.c
21 +++ linux-2.6.15.1/drivers/net/hamradio/mkiss.c
22 @@ -515,6 +515,7 @@ static void ax_encaps(struct net_device
23 count = kiss_esc(p, (unsigned char *)ax->xbuff, len);
24 }
25 }
26 + spin_unlock_bh(&ax->buflock);
27
28 set_bit(TTY_DO_WRITE_WAKEUP, &ax->tty->flags);
29 actual = ax->tty->driver->write(ax->tty, ax->xbuff, count);

  ViewVC Help
Powered by ViewVC 1.1.20