Re: [PATCH v7] videobuf2: Add missing lock held on vb2_fop_relase

2013-11-11 Thread Hans Verkuil
On 11/06/2013 04:41 PM, Ricardo Ribalda Delgado wrote: > From: Ricardo Ribalda > > vb2_fop_release does not held the lock although it is modifying the > queue->owner field. > > This could lead to race conditions on the vb2_perform_io function > when multiple applications are accessing the video

Re: [PATCH v7] videobuf2: Add missing lock held on vb2_fop_relase

2013-11-06 Thread Sylwester Nawrocki
Hi, On 06/11/13 16:41, Ricardo Ribalda Delgado wrote: > From: Ricardo Ribalda > > vb2_fop_release does not held the lock although it is modifying the > queue->owner field. > > This could lead to race conditions on the vb2_perform_io function > when multiple applications are accessing the video

[PATCH v7] videobuf2: Add missing lock held on vb2_fop_relase

2013-11-06 Thread Ricardo Ribalda Delgado
From: Ricardo Ribalda vb2_fop_release does not held the lock although it is modifying the queue->owner field. This could lead to race conditions on the vb2_perform_io function when multiple applications are accessing the video device via read/write API: [ 308.297741] BUG: unable to handle kerne