summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-ppc-soc.c
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2007-08-14 22:19:16 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-10-12 23:55:15 +0200
commit42cb967fd01b1f50374fdfa811f86db103eea532 (patch)
tree01edefaaa9ab8ca7ede7f912ed83dab4d14a92c4 /drivers/usb/host/ohci-ppc-soc.c
parentusbmon: Smooth the core code (diff)
downloadlinux-42cb967fd01b1f50374fdfa811f86db103eea532.tar.xz
linux-42cb967fd01b1f50374fdfa811f86db103eea532.zip
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 <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-ppc-soc.c')
0 files changed, 0 insertions, 0 deletions