Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 598309 Details for
Bug 836742
skype video crashes kernel
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
uvcvideo queue freeze fix
uvcvideo-queue-freeze.patch (text/plain), 1.19 KB, created by
Laurent Pinchart
on 2012-07-15 14:03:06 UTC
(
hide
)
Description:
uvcvideo queue freeze fix
Filename:
MIME Type:
Creator:
Laurent Pinchart
Created:
2012-07-15 14:03:06 UTC
Size:
1.19 KB
patch
obsolete
>commit 554ff182ef53e31147e554e84bb9b428ca57fc5d >Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com> >Date: Sun Jul 15 15:54:03 2012 +0200 > > uvcvideo: Reset the bytesused field when recycling an erroneous buffer > > Buffers marked as erroneous are recycled immediately by the driver if > the nodrop module parameter isn't set. The buffer payload size is reset > to 0, but the buffer bytesused field isn't. This results in the buffer > being immediately considered as complete, leading to an infinite loop in > interrupt context. > > Fix the problem by resetting the bytesused field when recycling the > buffer. > > Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> > >diff --git a/drivers/media/video/uvc/uvc_queue.c b/drivers/media/video/uvc/uvc_queue.c >index 9288fbd..5577381 100644 >--- a/drivers/media/video/uvc/uvc_queue.c >+++ b/drivers/media/video/uvc/uvc_queue.c >@@ -338,6 +338,7 @@ struct uvc_buffer *uvc_queue_next_buffer(struct uvc_video_queue *queue, > if ((queue->flags & UVC_QUEUE_DROP_CORRUPTED) && buf->error) { > buf->error = 0; > buf->state = UVC_BUF_STATE_QUEUED; >+ buf->bytesused = 0; > vb2_set_plane_payload(&buf->buf, 0, 0); > return buf; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 836742
: 598309