projects
/
wrapfs-4.14.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d0d411
)
[PATCH] Fix mkiss locking bug
author
Ralf Baechle DL5RB
<ralf@linux-mips.org>
Thu, 19 Jan 2006 17:29:52 +0000
(17:29 +0000)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 31 Jan 2006 06:13:18 +0000
(22:13 -0800)
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
patch
|
blob
|
history
diff --git
a/drivers/net/hamradio/mkiss.c
b/drivers/net/hamradio/mkiss.c
index 3e9accf137e717ac47fe209cfc3621e7bf32960c..f4424cf886c563a3a5c4955336f7c3c2c8f52f04 100644
(file)
--- a/
drivers/net/hamradio/mkiss.c
+++ b/
drivers/net/hamradio/mkiss.c
@@
-515,6
+515,7
@@
static void ax_encaps(struct net_device *dev, unsigned char *icp, int len)
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);