All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] mac80211: drop frames with unexpected DS bits from fast-rx to slow path
@ 2018-02-23  9:06 Felix Fietkau
  2018-02-23  9:06 ` [PATCH 2/4] mac80211: support AP 4-addr mode fast-rx Felix Fietkau
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Felix Fietkau @ 2018-02-23  9:06 UTC (permalink / raw)
  To: linux-wireless; +Cc: johannes

Fixes rx for 4-addr packets in AP mode

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 net/mac80211/rx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index 3dc162ddc3a6..1c947e005434 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
@@ -3937,7 +3937,7 @@ static bool ieee80211_invoke_fast_rx(struct ieee80211_rx_data *rx,
 	if ((hdr->frame_control & cpu_to_le16(IEEE80211_FCTL_FROMDS |
 					      IEEE80211_FCTL_TODS)) !=
 	    fast_rx->expected_ds_bits)
-		goto drop;
+		return false;
 
 	/* assign the key to drop unencrypted frames (later)
 	 * and strip the IV/MIC if necessary
-- 
2.14.2

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-23 12:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-23  9:06 [PATCH 1/4] mac80211: drop frames with unexpected DS bits from fast-rx to slow path Felix Fietkau
2018-02-23  9:06 ` [PATCH 2/4] mac80211: support AP 4-addr mode fast-rx Felix Fietkau
2018-02-23  9:06 ` [PATCH 3/4] mac80211: support fast-rx with incompatible PS capabilities when PS is disabled Felix Fietkau
2018-02-23 11:25   ` Johannes Berg
2018-02-23  9:06 ` [PATCH 4/4] mac80211: support station 4-addr mode fast-rx Felix Fietkau
2018-02-23 11:24   ` Johannes Berg
2018-02-23 12:54     ` Felix Fietkau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.