[PATCH] d80211: update tx.skb after TX handler calls

DORMANTno replies

From: Jiri Benc <hidden>
Date: 2006-06-12 19:09:26

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 <redacted>

---

 net/d80211/ieee80211.c |    1 +
 1 files changed, 1 insertion(+)
--- dscape.orig/net/d80211/ieee80211.c
+++ dscape/net/d80211/ieee80211.c
@@ -1760,6 +1760,7 @@ ieee80211_get_buffered_bc(struct net_dev
 			break;
 	}
 	dev_put(tx.dev);
+	skb = tx.skb; /* handlers are allowed to change skb */
 
 	if (res == TXRX_DROP) {
 		I802_DEBUG_INC(local->tx_handlers_drop);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help