Re: [PATCH 5.15 1/6] mac80211: mesh: clean up rx_bcn_presp API

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

 



On Fri, Oct 14, 2022 at 09:11:45AM +0200, Greg KH wrote:
> On Thu, Oct 13, 2022 at 08:15:56PM +0200, Felix Fietkau wrote:
> > From: Johannes Berg <johannes.berg@xxxxxxxxx>
> > 
> > commit a5b983c6073140b624f64e79fea6d33c3e4315a0 upstream.
> > 
> > We currently pass the entire elements to the rx_bcn_presp()
> > method, but only need mesh_config. Additionally, we use the
> > length of the elements to calculate back the entire frame's
> > length, but that's confusing - just pass the length of the
> > frame instead.
> > 
> > Link: https://lore.kernel.org/r/20210920154009.a18ed3d2da6c.I1824b773a0fbae4453e1433c184678ca14e8df45@changeid
> > Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> > ---
> >  net/mac80211/ieee80211_i.h |  7 +++----
> >  net/mac80211/mesh.c        |  4 ++--
> >  net/mac80211/mesh_sync.c   | 26 ++++++++++++--------------
> >  3 files changed, 17 insertions(+), 20 deletions(-)
> 
> Many thanks for this series.  Will this also work in 5.4.y and 5.10.y?
> 

Not sure about 5.10, but that won't work as is on 5.4. We are considering some
other approach for 5.4, but not sure yet. But simply taking dozens of clean
cherry picks did not strike as a good option to me.

Cascardo.

> greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux