diff options
author | Peter Holik <peter@holik.at> | 2011-03-18 18:47:44 +0100 |
---|---|---|
committer | AK <andi@firstfloor.org> | 2011-03-31 11:58:46 -0700 |
commit | a0a81bea48c2dfebd7cd557d52788198d1f42d07 (patch) | |
tree | f3b60c171bdd03ec3a29668eb98423d0c7dc6d34 /drivers/usb/class/cdc-acm.c | |
parent | 83ed3460b8ab1880f670dbf925f50bb7e156346f (diff) |
USB: uss720 fixup refcount position
commit adaa3c6342b249548ea830fe8e02aa5b45be8688 upstream.
My testprog do a lot of bitbang - after hours i got following warning and my machine lockups:
WARNING: at /build/buildd/linux-2.6.38/lib/kref.c:34
After debugging uss720 driver i discovered that the completion callback was called before
usb_submit_urb returns. The callback frees the request structure that is krefed on return by
usb_submit_urb.
Signed-off-by: Peter Holik <peter@holik.at>
Acked-by: Thomas Sailer <t.sailer@alumni.ethz.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions