summaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorLi Jun <B47624@freescale.com>2014-08-28 13:44:11 (GMT)
committerFelipe Balbi <balbi@ti.com>2014-09-02 14:16:45 (GMT)
commitbe0a8887bb931af0e21531da20c41533effbb0d6 (patch)
treeca28abb67c063045c767e0ab385043e5f803754d /fs/nfsd
parentd3102a5eaac708ab83fede0986f90e9971be55d3 (diff)
downloadlinux-be0a8887bb931af0e21531da20c41533effbb0d6.tar.xz
usb: gadget: composite: dequeue cdev->req before free its buffer
commit f226708(usb: gadget: composite: dequeue cdev->req before free it in composite_dev_cleanup) fixed a bug: free the usb request(i.e. cdev->req) but does not dequeue it beforehand. This fix is not proper enough because it dequeues the request after free its data buffer, considering the hardware can access the buffer's memory anytime before the request's complettion rountine runs, and usb_ep_dequeue always call the complettion rountine before it returns, so the best way is to dequeue the request before free its buffer. Suggested-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Li Jun <b47624@freescale.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'fs/nfsd')
0 files changed, 0 insertions, 0 deletions