From: Sakari Ailus Date: Fri, 4 May 2007 15:19:59 +0000 (-0300) Subject: V4L/DVB (5603): V4L: Prevent queueing queued buffers. X-Git-Tag: v2.6.22-rc1~23^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36a63ee34b568de8d0762f9b07f34ae5caae7724;p=pandora-kernel.git V4L/DVB (5603): V4L: Prevent queueing queued buffers. videobuf_qbuf queues buffers to q->stream but does not properly check the state of the buffer before queueing. It was possible to queue buffers that already were in the queue. Only buffers that are in states STATE_NEEDS_INIT and STATE_IDLE can be queued. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed