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

Commit 14a7dd6f authored by Michael Buesch's avatar Michael Buesch Committed by John W. Linville
Browse files

b43: Fix PIO skb clobber



This fixes a clobber of the skb that was introduced by the
tx_control->cb conversion patches.
This bug causes a crash when the skb destructor is invoked. That happens
on skb_orphan or skb_kfree.

Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 40af48ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -586,7 +586,7 @@ void b43_pio_handle_txstatus(struct b43_wldev *dev,

	spin_lock(&q->lock); /* IRQs are already disabled. */

	info = (void *)pack->skb;
	info = IEEE80211_SKB_CB(pack->skb);
	memset(&info->status, 0, sizeof(info->status));

	b43_fill_txstatus_report(info, status);