summaryrefslogtreecommitdiff
path: root/net/mac80211/drop.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-03-20 10:14:04 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-03-25 17:39:28 +0300
commit6e02ba7c9e0a28a87efe5a179462515e7a47008e (patch)
tree9420e1986f794f975af17ca394120000487447e8 /net/mac80211/drop.h
parent2f51c87a156c2ee30bf6a66694c64856177c5303 (diff)
downloadlinux-6e02ba7c9e0a28a87efe5a179462515e7a47008e.tar.xz
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>
Diffstat (limited to 'net/mac80211/drop.h')
-rw-r--r--net/mac80211/drop.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/drop.h b/net/mac80211/drop.h
index 12a6f0e9eca6..59e3ec4dc960 100644
--- a/net/mac80211/drop.h
+++ b/net/mac80211/drop.h
@@ -2,7 +2,7 @@
/*
* mac80211 drop reason list
*
- * Copyright (C) 2023 Intel Corporation
+ * Copyright (C) 2023-2024 Intel Corporation
*/
#ifndef MAC80211_DROP_H
@@ -66,6 +66,7 @@ typedef unsigned int __bitwise ieee80211_rx_result;
R(RX_DROP_U_UNEXPECTED_STA_4ADDR) \
R(RX_DROP_U_UNEXPECTED_VLAN_MCAST) \
R(RX_DROP_U_NOT_PORT_CONTROL) \
+ R(RX_DROP_U_UNKNOWN_ACTION_REJECTED) \
/* this line for the trailing \ - add before this */
/* having two enums allows for checking ieee80211_rx_result use with sparse */