title.
>
> Please correct me if I have something wrong.
>
>
> Thanks
> Albert Wang
> 86-21-61092656
> -Original Message-
> From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de]
> Sent: Monday, 11 June, 2012 17:21
> To: Albert Wang
> Cc: Laurent Pi
sciak.com; linux-media@vger.kernel.org
Subject: RE: [PATCH] media: videobuf2: fix kernel panic due to missing assign
NULL to alloc_ctx
Hi Albert
On Mon, 11 Jun 2012, Albert Wang wrote:
> Hi, Laurent
>
> Thanks for your reply!
>
> We allocated the context when init_videobuf2() whi
sn't affect the caller in
any way.
Thanks
Guennadi
> Thanks
> Albert Wang
> 86-21-61092656
>
> -Original Message-
> From: Laurent Pinchart [mailto:laurent.pinch...@ideasonboard.com]
> Sent: Monday, 11 June, 2012 16:00
> To: Albert Wang
> Cc: pa...@osciak.com; g.
ert Wang
Cc: pa...@osciak.com; g.liakhovet...@gmx.de; linux-media@vger.kernel.org
Subject: Re: [PATCH] media: videobuf2: fix kernel panic due to missing assign
NULL to alloc_ctx
Hi Albert,
On Friday 08 June 2012 19:55:11 Albert Wang wrote:
> In function vb2_dma_contig_cleanup_ctx(), we only k
Hi Albert,
On Friday 08 June 2012 19:55:11 Albert Wang wrote:
> In function vb2_dma_contig_cleanup_ctx(), we only kfree the alloc_ctx
> If we didn't assign NULL to this point after kfree it,
> we may encounter the following kernel panic:
>
> kernel BUG at kernel/cred.c:98!
> Unable to han
In function vb2_dma_contig_cleanup_ctx(), we only kfree the alloc_ctx
If we didn't assign NULL to this point after kfree it,
we may encounter the following kernel panic:
kernel BUG at kernel/cred.c:98!
Unable to handle kernel NULL pointer dereference at virtual address
pgd = c000