mbox series

[0/2] wifi: ath11k: Ignore frags from uninitialized peer in dp

Message ID 20230403184155.8670-1-quic_nmaran@quicinc.com (mailing list archive)
Headers show
Series wifi: ath11k: Ignore frags from uninitialized peer in dp | expand

Message

Nagarajan Maran April 3, 2023, 6:41 p.m. UTC
When max virtual ap interfaces are configured in all the bands with
ACS and hostapd restart is done every 60s, a crash is observed at
random times in dp_rx path.

This patch series handles the following:
    1. Ignore the fragments of the peer which does not have its
       datapath initialized.
    2. Fix the undefined behavior of __fls which was found during
       this crash.

Harshitha Prem (2):
  wifi: ath11k: Ignore frags from uninitialized peer in dp.
  wifi: ath11k: fix undefined behavior with __fls in dp

 drivers/net/wireless/ath/ath11k/dp.c    |  4 +++-
 drivers/net/wireless/ath/ath11k/dp_rx.c | 10 +++++++++-
 drivers/net/wireless/ath/ath11k/peer.h  |  1 +
 3 files changed, 13 insertions(+), 2 deletions(-)