Re: [PATCH] dma-buf: call dma_buf_stats_setup after dmabuf is in valid list

2022-05-10 Thread Christian König
Am 10.05.22 um 04:43 schrieb Charan Teja Kalla: Hello Mercier, On 5/10/2022 3:19 AM, T.J. Mercier wrote: On Mon, May 9, 2022 at 12:50 PM Charan Teja Kalla wrote: From: Charan Teja Reddy When dma_buf_stats_setup() fails, it closes the dmabuf file which results into the calling of

Re: [PATCH] dma-buf: call dma_buf_stats_setup after dmabuf is in valid list

2022-05-10 Thread Charan Teja Kalla
Hello Mercier, On 5/10/2022 3:19 AM, T.J. Mercier wrote: > On Mon, May 9, 2022 at 12:50 PM Charan Teja Kalla > wrote: >> From: Charan Teja Reddy >> >> When dma_buf_stats_setup() fails, it closes the dmabuf file which >> results into the calling of dma_buf_file_release() where it does >>

[PATCH] dma-buf: call dma_buf_stats_setup after dmabuf is in valid list

2022-05-10 Thread Charan Teja Kalla
From: Charan Teja Reddy When dma_buf_stats_setup() fails, it closes the dmabuf file which results into the calling of dma_buf_file_release() where it does list_del(>list_node) with out first adding it to the proper list. This is resulting into panic in the below path: