lkml.org 
[lkml]   [2020]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH for-next] io_uring: fix ctx refcounting in io_uring_enter()
From
Date
On 9/9/20 9:19 AM, Stefano Garzarella wrote:
> If the ring is disabled we don't decrease the 'ctx' refcount since
> we wrongly jump to 'out_fput' label.
>
> Instead let's jump to 'out' label where we decrease the 'ctx' refcount.

Applied, thanks.

--
Jens Axboe

\
 
 \ /
  Last update: 2020-09-09 20:31    [W:0.040 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site