Patch "wifi: mac80211: Recalc offload when monitor stop" has been added to the 6.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    wifi: mac80211: Recalc offload when monitor stop

to the 6.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     wifi-mac80211-recalc-offload-when-monitor-stop.patch
and it can be found in the queue-6.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 9adf50bb552918d1280fabe7eda09c54c3524c50
Author: Remi Pommarel <repk@xxxxxxxxxxxx>
Date:   Sat May 18 18:07:33 2024 +0200

    wifi: mac80211: Recalc offload when monitor stop
    
    [ Upstream commit 7d09e17c0415fe6d946044c7e70bce31cda952ec ]
    
    When a monitor interface is started, ieee80211_recalc_offload() is
    called and 802.11 encapsulation offloading support get disabled so
    monitor interface could get native wifi frames directly. But when
    this interface is stopped there is no need to keep the 802.11
    encpasulation offloading off.
    
    This call ieee80211_recalc_offload() when monitor interface is stopped
    so 802.11 encapsulation offloading gets re-activated if possible.
    
    Fixes: 6aea26ce5a4c ("mac80211: rework tx encapsulation offload API")
    Signed-off-by: Remi Pommarel <repk@xxxxxxxxxxxx>
    Link: https://msgid.link/840baab454f83718e6e16fd836ac597d924e85b9.1716048326.git.repk@xxxxxxxxxxxx
    Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index ef6b0fc82d022..d759ef2b88c24 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -686,6 +686,7 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata, bool going_do
 			ieee80211_del_virtual_monitor(local);
 
 		ieee80211_recalc_idle(local);
+		ieee80211_recalc_offload(local);
 
 		if (!(sdata->u.mntr.flags & MONITOR_FLAG_ACTIVE))
 			break;




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux