Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b3413872 authored by Francois Romieu's avatar Francois Romieu Committed by David S. Miller
Browse files

[AX25/MKISS]: unbalanced spinlock_bh in ax_encaps()



The unlocking disappeared during commit
5793f4be.

Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e16a8f0b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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. */