[PATCH 19/22] net/smsc911x: Repair broken failure paths
From: Linus Walleij <hidden>
Date: 2012-05-30 07:16:39
Also in:
netdev
From: Linus Walleij <hidden>
Date: 2012-05-30 07:16:39
Also in:
netdev
On Wed, May 30, 2012 at 12:47 PM, Lee Jones [off-list ref] wrote:
Current failure paths attempt to free resources which we failed to request and disable resources which we failed to enable ones. This leads to kernel oops/panic. This patch does some simple re-ordering to prevent this from happening. Cc: netdev at vger.kernel.org Signed-off-by: Lee Jones <redacted>
Acked-by: Linus Walleij <redacted> Thanks, Linus Walleij