summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-02-15 12:07:05 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-02-15 20:27:25 +0300
commit0d846bdc11101ac0ba4d89c2be359af08cb9379b (patch)
tree6360821d27cbab80b79c09e2c9063406ed66b55f /tools/perf/scripts/python/stackcollapse.py
parentc38c701851011c94ce3be1ccb3593678d2933fd8 (diff)
downloadlinux-0d846bdc11101ac0ba4d89c2be359af08cb9379b.tar.xz
wifi: mac80211: pass 'sta' to ieee80211_rx_data_set_sta()
There's at least one case in ieee80211_rx_for_interface() where we might pass &((struct sta_info *)NULL)->sta to it only to then do container_of(), and then checking the result for NULL, but checking the result of container_of() for NULL looks really odd. Fix this by just passing the struct sta_info * instead. Fixes: e66b7920aa5a ("wifi: mac80211: fix initialization of rx->link and rx->link_sta") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions