From: Andrew Morton <[EMAIL PROTECTED]>
Date: Tue, 31 Jan 2006 23:40:33 -0800

> It's still oopsing, with slab poisoning enabled.

Does this patch help?

diff --git a/net/socket.c b/net/socket.c
index 1ec0168..a2c3b07 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -420,7 +420,7 @@ int sock_map_fd(struct socket *sock)
                int err = sock_attach_fd(sock, newfile);
 
                if (unlikely(err < 0)) {
-                       fput(newfile);
+                       put_filp(newfile);
                        put_unused_fd(fd);
                        return err;
                }
@@ -1428,7 +1428,7 @@ out_put:
 out:
        return err;
 out_fd:
-       fput(newfile);
+       put_filp(newfile);
        put_unused_fd(newfd);
 out_release:
        sock_release(newsock);
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to