[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1416898.RFahovXudQ@al>
Date: Thu, 08 Aug 2013 00:28:45 +0200
From: Peter Wu <lekensteyn@...il.com>
To: Jiri Kosina <jkosina@...e.cz>
Cc: linux-input@...r.kernel.org,
Manoj Chourasia <mchourasia@...dia.com>,
linux-kernel@...r.kernel.org, alnovak@...e.cz
Subject: Re: List corruption in hidraw_release in 3.11-rc4
On Wednesday 07 August 2013 15:34:08 Jiri Kosina wrote:
> On Wed, 7 Aug 2013, Peter Wu wrote:
> > [..]
> > I have applied Manoj's patch[1] on top of 3.11-rc4 which seem to fix the
> > issue. One observation is that the new device is named /dev/hidraw1
> > instead of /dev/hidraw0. Example:
> >
> > f(){ hidraw-test /dev/hidraw$1 usb1;}
> > # needed for 3.11-rc4
> > f 1; f 1 # crash
> > # needed for 3.11-rc4 + patch
> > f 1; f 2 # ok
> >
> > Regards,
> > Peter
> >
> > [1]: http://lkml.org/lkml/2013/7/22/248
>
> That one I am still reviewing ... can I add your Tested-by: to it when
> I'll be applying it and pushing to Linus?
Sure, once you accept it you can add:
Tested-by: Peter Wu <lekensteyn@...il.com>
While you are at it, are the other functions also safe? (i.e. hidraw_poll,
that one is not protected by any locks?)
Regards,
Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists