d80211: update tx.skb after TX handler calls
Subsystems (2)
PATCH 1/1 d80211: update tx.skb after TX handler calls
TX and RX handlers are allowed to change skb. Fix (hopefully) the last place where this is not taken into account.
Signed-off-by Jiri Benc <[email protected]>
---
net/d80211/ieee80211.c | 1 + 1 files changed, 1 insertion(+)
net/d80211/ieee80211.c +1 -0
@@ -1760,6 +1760,7 @@ ieee80211_get_buffered_bc(struct net_devbreak ; }dev_put (tx.dev); + skb = tx.skb;/* handlers are allowed to change skb */ if (res ==TXRX_DROP ) {I802_DEBUG_INC (local->tx_handlers_drop);