[AX25/MKISS]: unbalanced spinlock_bh in ax_encaps()
authorFrancois Romieu <romieu@fr.zoreil.com>
Sat, 7 Jan 2006 07:08:42 +0000 (23:08 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 7 Jan 2006 20:57:40 +0000 (12:57 -0800)
The unlocking disappeared during commit
5793f4be23f0171b4999ca68a39a9157b44139f3.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/mkiss.c

index 3e9accf137e717ac47fe209cfc3621e7bf32960c..41b3d83c2ab83d7e9a6a7da72586b3d147824c3e 100644 (file)
@@ -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. */