* [PATCH] ath9k: fix massive rx packet loss issue
@ 2009-11-15 21:27 Felix Fietkau
2009-11-15 21:38 ` Luis R. Rodriguez
0 siblings, 1 reply; 2+ messages in thread
From: Felix Fietkau @ 2009-11-15 21:27 UTC (permalink / raw)
To: linux-wireless; +Cc: John W. Linville, Luis R. Rodriguez
This patch fixes a regression introduced in
commit 701396910a42dc69cf0284f4727e48f5e0f83151
[PATCH 18/29] ath9k: avoid the copy skb->cb on every RX'd skb
With that change, the rx status in skb->cb was left uninitialized
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
---
--- a/drivers/net/wireless/ath/ath9k/common.c
+++ b/drivers/net/wireless/ath/ath9k/common.c
@@ -203,6 +203,7 @@ int ath9k_cmn_rx_skb_preprocess(struct a
{
struct ath_hw *ah = common->ah;
+ memset(rx_status, 0, sizeof(struct ieee80211_rx_status));
if (!ath9k_rx_accept(common, skb, rx_status, rx_stats, decrypt_error))
return -EINVAL;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ath9k: fix massive rx packet loss issue
2009-11-15 21:27 [PATCH] ath9k: fix massive rx packet loss issue Felix Fietkau
@ 2009-11-15 21:38 ` Luis R. Rodriguez
0 siblings, 0 replies; 2+ messages in thread
From: Luis R. Rodriguez @ 2009-11-15 21:38 UTC (permalink / raw)
To: Felix Fietkau; +Cc: linux-wireless, John W. Linville
On Sun, Nov 15, 2009 at 1:27 PM, Felix Fietkau <nbd@openwrt.org> wrote:
> This patch fixes a regression introduced in
>
> commit 701396910a42dc69cf0284f4727e48f5e0f83151
> [PATCH 18/29] ath9k: avoid the copy skb->cb on every RX'd skb
>
> With that change, the rx status in skb->cb was left uninitialized
>
> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Thanks!
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Luis
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-15 21:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-15 21:27 [PATCH] ath9k: fix massive rx packet loss issue Felix Fietkau
2009-11-15 21:38 ` Luis R. Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox