summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorPete Zaitcev <zaitcev@redhat.com>2006-05-03 07:16:00 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2006-05-09 06:43:55 (GMT)
commit77ef6c4d6e23653a79eedacdd6d1d0da7083e59c (patch)
tree5dd68fb616175ffcf2939beaef8ed06a43179173 /drivers/usb
parent436f5762bcd4929825a0725d4bc78337e6fc0d8f (diff)
downloadlinux-fsl-qoriq-77ef6c4d6e23653a79eedacdd6d1d0da7083e59c.tar.xz
[PATCH] USB: ub oops in block_uevent
In kernel 2.6.16, if a mounted storage device is removed, an oops happens because ub supplies an interface device (and kobject) to the block layer, but neglects to pin it. And apparently, the block layer expects its users to pin device structures. The code in ub was broken this way for years. But the bug was exposed only by 2.6.16 when it started to call block_uevent on close, which traverses device structures (kobjects actually). Signed-off-by: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions