Re: [PATCH 5.4 0/3] Bluetooth: L2CAP: Fix accepting connection request for invalid SPSM

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

 



On Sun, Dec 04, 2022 at 01:24:33AM +0300, Cengiz Can wrote:
> Hello,
> 
> commit 711f8c3fb3db ("Bluetooth: L2CAP: Fix accepting connection request for 
> invalid SPSM") did not apply to 5.4-stable tree previously.
> 
> One of the notable dependencies is commit 15f02b910562 ("Bluetooth: L2CAP: 
> Add initial code for Enhanced Credit Based Mode") and that doesn't apply to 
> 5.4-stable either due to a mismatch on `l2cap_sock_setsockopt_old` in 
> l2cap_sock.c.

And that commit does not seem relevant for stable backports at all as it
is a new feature.  If all you really want to do is fix the "bug", why
not just take half of commit 711f8c3fb3db, i.e. the half that actually
matters in this kernel tree?

Why wouldn't that just work for all of the older kernels?  I'll go do
that now as it seems like it will solve the issue, but it would be great
if people could actually test it (hint, why didn't you cc: the bluetooth
developers here?)

thanks,

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