commit | 79f4f6428f6ceb9af57330092271bda028c23a96 | [log] [tgz] |
---|---|---|
author | Alexey Dobriyan <adobriyan@sw.ru> | Mon Mar 26 14:09:52 2007 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 26 14:09:52 2007 -0700 |
tree | e73a452517b3e6f8cc5c583a3e0174b039ccc5a2 | |
parent | 165de5b7f2719c1984956504128545839762d635 [diff] |
[NET]: Correct accept(2) recovery after sock_attach_fd() * 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> Signed-off-by: David S. Miller <davem@davemloft.net>