From: Pete Zaitcev Date: Tue, 14 Aug 2007 20:19:16 +0000 (-0700) Subject: usblp: Fix a double kfree X-Git-Tag: v2.6.24-rc1~1395^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42cb967fd01b1f50374fdfa811f86db103eea532;p=pandora-kernel.git usblp: Fix a double kfree If submit fails, slab hits a BUG() because of a double kfree. The today's lesson is, you cannot just slap USB_FREE_BUFFER on code without adjusting the error paths. The patch is made bigger by opportunistic refactoring. Signed-Off-By: Pete Zaitcev Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed