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(+)

--- 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);

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to