TX and RX handlers are allowed to change skb. Fix (hopefully) the last place
where this is not taken into account.

This is similar to e81b1bc0f272a50458ab6ae8777f6327af0248e5.

Signed-off-by: Jiri Benc <[EMAIL PROTECTED]>

---

 net/d80211/ieee80211.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

9372ebe184ff953be4f9d05b029477a57dd43bbd
diff --git a/net/d80211/ieee80211.c b/net/d80211/ieee80211.c
index a8ca8d1..944b89f 100644
--- a/net/d80211/ieee80211.c
+++ b/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);
-- 
1.3.0

-
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