Re: [PATCH] usbnet: cleanup after bind() in probe()
From: Oliver Neukum <hidden>
Date: 2016-03-07 17:36:46
On Mon, 2016-03-07 at 11:41 -0500, David Miller wrote:
From: Oliver Neukum <oneukum-IBi9RG/b67k@public.gmane.org> Date: Mon, 7 Mar 2016 11:31:10 +0100quoted
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. Signed-off-by: Oliver Neukum <ONeukum-IBi9RG/b67k@public.gmane.org>Applied, thanks Oliver. How far back does this bug exist? I'm trying to figure out what -stable branchs to send it to.
It goes back to 3.12 HTH Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html