diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-06-05 03:56:27 +0300 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-06-05 10:59:30 +0300 |
| commit | b978c424cbfb1f5ab024db12cf7b813fa4e23ca0 (patch) | |
| tree | 482ed8123fab2be323f549a087ea1a519d5c28ef /include | |
| parent | c52b14422573a43917f48c094771a80cbe58f568 (diff) | |
| download | linux-b978c424cbfb1f5ab024db12cf7b813fa4e23ca0.tar.xz | |
wifi: mac80211: fold tid_ampdu_rx allocations into a flexible array
Convert the separately-allocated reorder_buf pointer to a C99 flexible
array member at the end of struct tid_ampdu_rx, with both the
sk_buff_head and the jiffies timestamp in each array element. This
collapses three allocations into one and removes the corresponding
kfree() pairs from the error and free paths.
Assisted-by: opencode:big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20260605005627.317194-1-rosenp@gmail.com
[fix kernel-doc]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
