* [PATCH] d80211: update tx.skb after TX handler calls
@ 2006-06-12 19:09 Jiri Benc
0 siblings, 0 replies; only message in thread
From: Jiri Benc @ 2006-06-12 19:09 UTC (permalink / raw)
To: NetDev; +Cc: John W. Linville
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 <jbenc@suse.cz>
---
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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-12 19:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-12 19:09 [PATCH] d80211: update tx.skb after TX handler calls Jiri Benc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox