]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Fix bug in Tx ack status reporting in 802.3 xmit path
authorVasanthakumar Thiagarajan <vthiagar@codeaurora.org>
Wed, 22 Jul 2020 14:20:17 +0000 (19:50 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 30 Jul 2020 08:25:17 +0000 (10:25 +0200)
commit7c536bb4ab9796197be8b7e50e615ca2993e636f
treef640d81f69b4a48591c1b6c2e98bb1eca2968d1e
parent8986b3dc7c3f5a29cb05504b73fa01420ce51c86
mac80211: Fix bug in Tx ack status reporting in 802.3 xmit path

Allocated ack_frame id from local->ack_status_frames is not really
stored in the tx_info for 802.3 Tx path. Due to this, tx ack status
is not reported and ack_frame id is not freed for the buffers requiring
tx ack status. Also move the memset to 0 of tx_info before
IEEE80211_TX_CTL_REQ_TX_STATUS flag assignment.

Fixes: 65d31b691d7f ("mac80211: add 802.11 encapsulation offloading support")
Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@codeaurora.org>
Link: https://lore.kernel.org/r/1595427617-1713-1-git-send-email-vthiagar@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c