From: Francois Romieu Date: Sat, 7 Jan 2006 07:08:42 +0000 (-0800) Subject: [AX25/MKISS]: unbalanced spinlock_bh in ax_encaps() X-Git-Tag: v2.6.16-rc1~915 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b341387225832c392ed83b9f89d15668b033a106;p=linux-2.6-omap-h63xx.git [AX25/MKISS]: unbalanced spinlock_bh in ax_encaps() The unlocking disappeared during commit 5793f4be23f0171b4999ca68a39a9157b44139f3. Signed-off-by: Francois Romieu Signed-off-by: David S. Miller --- diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c index 3e9accf137e..41b3d83c2ab 100644 --- a/drivers/net/hamradio/mkiss.c +++ b/drivers/net/hamradio/mkiss.c @@ -524,6 +524,7 @@ static void ax_encaps(struct net_device *dev, unsigned char *icp, int len) ax->dev->trans_start = jiffies; ax->xleft = count - actual; ax->xhead = ax->xbuff + actual; + spin_unlock_bh(&ax->buflock); } /* Encapsulate an AX.25 packet and kick it into a TTY queue. */