Re: [stable] i2c: dev: Fix the race between the release of i2c_dev and cdev

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

 



On Thu, 2020-05-21 at 07:50 +0200, Greg Kroah-Hartman wrote:
> On Wed, May 20, 2020 at 08:45:15PM +0100, Ben Hutchings wrote:
> > Please pick this fix for all stable branches:
> > 
> > commit 1413ef638abae4ab5621901cf4d8ef08a4a48ba6
> > Author: Kevin Hao <haokexin@xxxxxxxxx>
> > Date:   Fri Oct 11 23:00:14 2019 +0800
> > 
> >     i2c: dev: Fix the race between the release of i2c_dev and cdev
> > 
> > I don't know whether it will apply cleanly to all of them; I can deal
> > with those where it doesn't.
> 
> I applied it to 4.14, 4.19, 5.4, and 5.6.  It does apply to 4.9 but as
> the patch it depends on is not there, I don't think it will help.

It was included in 4.9.224, so both this and the similar watchdog fix
should be applicable for 4.9.

Ben.

-- 
Ben Hutchings, Software Developer                         Codethink Ltd
https://www.codethink.co.uk/                 Dale House, 35 Dale Street
                                     Manchester, M1 2HF, United Kingdom




[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