Skip to content

Commit

Permalink
[AX25/MKISS]: unbalanced spinlock_bh in ax_encaps()
Browse files Browse the repository at this point in the history
The unlocking disappeared during commit
5793f4b.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Francois Romieu authored and David S. Miller committed Jan 7, 2006
1 parent e16a8f0 commit b341387
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/hamradio/mkiss.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit b341387

Please sign in to comment.