wifi: mac80211: reload info pointer in ieee80211_tx_dequeue()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jan 2024 15:49:10 +0000 (16:49 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Feb 2024 12:16:22 +0000 (13:16 +0100)
commitc98d8836b817d11fdff4ca7749cbbe04ff7f0c64
tree649509ac3f9018b531323e27c477b99cfbe2211b
parent0647903efbc84b772325b4d24d9487e24d6d1e03
wifi: mac80211: reload info pointer in ieee80211_tx_dequeue()

This pointer can change here since the SKB can change, so we
actually later open-coded IEEE80211_SKB_CB() again. Reload
the pointer where needed, so the monitor-mode case using it
gets fixed, and then use info-> later as well.

Cc: stable@vger.kernel.org
Fixes: 531682159092 ("mac80211: fix VLAN handling with TXQs")
Link: https://msgid.link/20240131164910.b54c28d583bc.I29450cec84ea6773cff5d9c16ff92b836c331471@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c