wifi: mac80211: improve drop for action frame return
authorJohannes Berg <johannes.berg@intel.com>
Wed, 20 Mar 2024 07:14:04 +0000 (09:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2024 14:39:28 +0000 (15:39 +0100)
commit6e02ba7c9e0a28a87efe5a179462515e7a47008e
tree9420e1986f794f975af17ca394120000487447e8
parent2f51c87a156c2ee30bf6a66694c64856177c5303
wifi: mac80211: improve drop for action frame return

If we use a drop we not only save the extra call to
dev_kfree_skb(), but also have a better reason in
tracing, so do that.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240320091155.34daf0a89eb4.I60e0639511f9de64e40e6105b640adf90f8f57f7@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/drop.h
net/mac80211/rx.c