Re: [PATCH] usbnet: cleanup after bind() in probe()

2016-03-07 Thread Oliver Neukum
On Mon, 2016-03-07 at 11:41 -0500, David Miller wrote: > From: Oliver Neukum > Date: Mon, 7 Mar 2016 11:31:10 +0100 > > > In case bind() works, but a later error forces bailing > > in probe() in error cases work and a timer may be scheduled. > > They must be killed. This fixes an error case rela

Re: [PATCH] usbnet: cleanup after bind() in probe()

2016-03-07 Thread David Miller
From: Oliver Neukum Date: Mon, 7 Mar 2016 11:31:10 +0100 > In case bind() works, but a later error forces bailing > in probe() in error cases work and a timer may be scheduled. > They must be killed. This fixes an error case related to > the double free reported in > http://www.spinics.net/lists

[PATCH] usbnet: cleanup after bind() in probe()

2016-03-07 Thread Oliver Neukum
In case bind() works, but a later error forces bailing in probe() in error cases work and a timer may be scheduled. They must be killed. This fixes an error case related to the double free reported in http://www.spinics.net/lists/netdev/msg367669.html and needs to go on top of Linus' fix to cdc-ncm