We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 491ef11 commit abf078cCopy full SHA for abf078c
net/mac80211/status.c
@@ -1085,7 +1085,13 @@ static void __ieee80211_tx_status(struct ieee80211_hw *hw,
1085
1086
ieee80211_report_used_skb(local, skb, false, status->ack_hwtstamp);
1087
1088
- if (status->free_list)
+ /*
1089
+ * This is a bit racy but we can avoid a lot of work
1090
+ * with this test...
1091
+ */
1092
+ if (local->tx_mntrs)
1093
+ ieee80211_tx_monitor(local, skb, retry_count, status);
1094
+ else if (status->free_list)
1095
list_add_tail(&skb->list, status->free_list);
1096
else
1097
dev_kfree_skb(skb);
0 commit comments