OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] Correct accept(2) recovery after sock_attach_fd()
Re: [PATCH] Correct accept(2) recovery after sock_attach_fd() [message #11550 is a reply to message #11539] Mon, 26 March 2007 21:20 Go to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: Alexey Dobriyan <adobriyan@sw.ru>
Date: Mon, 26 Mar 2007 19:34:31 +0400

> * d_alloc() in sock_attach_fd() fails leaving ->f_dentry of new file NULL
> * bail out to out_fd label, doing fput()/__fput() on new file
> * but __fput() assumes valid ->f_dentry and dereferences it
>
> Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>

Thanks for this bug fix Alexey, patch applied.
 
Read Message
Read Message
Previous Topic: [RFC][PATCH] Do not set /proc inode->pid for non-pid-related inodes
Next Topic: [PATCH 3/3][RFC] Containers: Pagecache controller reclaim
Goto Forum:
  


Current Time: Thu Oct 09 06:21:00 GMT 2025

Total time taken to generate the page: 0.18760 seconds