All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH wireless v2 0/2] Fix packets processed after vif is stopped
@ 2025-03-24 16:28 Remi Pommarel
  2025-03-24 16:28 ` [PATCH wireless v2 1/2] wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue() Remi Pommarel
  2025-03-24 16:28 ` [PATCH wireless v2 2/2] wifi: mac80211: Purge vif txq in ieee80211_do_stop() Remi Pommarel
  0 siblings, 2 replies; 13+ messages in thread
From: Remi Pommarel @ 2025-03-24 16:28 UTC (permalink / raw)
  To: linux-wireless, linux-kernel; +Cc: Johannes Berg, Remi Pommarel

Those are a couple of fixes that prevent crashes due to processing
packets (especially multicast ones) for TX after vif is stopped (either
after a mesh interface left the group or interface is put down).

The first one ensure the key info passed to drivers through ieee80211
skb control block is up to date, even after key removal.

The second one ensure no packets get processed after vif driver private
data is cleared in ieee80211_do_stop().

v2:
  - Add Fixes tag
  - Clear SKB's control block key before in ieee80211_tx_dequeue()
    instead of ieee80211_tx_h_select_key()
  - Add wireless tag and fix type in subject
  - Because subject changed, v1 can be found at
    https://lore.kernel.org/lkml/cover.1741950009.git.repk@triplefau.lt/

Remi Pommarel (2):
  wifi: mac80211: Update skb's control block key in
    ieee80211_tx_dequeue()
  wifi: mac80211: Purge vif txq in ieee80211_do_stop()

 net/mac80211/iface.c | 3 +++
 net/mac80211/tx.c    | 1 +
 2 files changed, 4 insertions(+)

-- 
2.40.0


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

end of thread, other threads:[~2025-07-17 19:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-24 16:28 [PATCH wireless v2 0/2] Fix packets processed after vif is stopped Remi Pommarel
2025-03-24 16:28 ` [PATCH wireless v2 1/2] wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue() Remi Pommarel
2025-04-10 21:55   ` Bert Karwatzki
2025-04-11 10:06     ` Remi Pommarel
2025-04-11 11:10       ` Bert Karwatzki
2025-04-11 12:15         ` Remi Pommarel
2025-07-17 13:21         ` Remi Pommarel
2025-07-17 13:46           ` Johannes Berg
2025-07-17 14:22             ` Remi Pommarel
2025-07-17 15:46               ` Jeff Johnson
2025-07-17 19:42                 ` Jeff Johnson
2025-04-11 14:16     ` Johannes Berg
2025-03-24 16:28 ` [PATCH wireless v2 2/2] wifi: mac80211: Purge vif txq in ieee80211_do_stop() Remi Pommarel

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.