diff -upr a/grsecurity/gracl_cap.c c/grsecurity/gracl_cap.c
--- a/grsecurity/gracl_cap.c 2007-12-01 00:54:57.312774500 +0000
+++ c/grsecurity/gracl_cap.c 2007-12-01 01:09:34.923621750 +0000
-@@ -110,3 +110,19 @@ gr_is_capable_nolog(const int cap)
+@@ -110,2 +110,2 @@ gr_is_capable_nolog(const int cap)
return 0;
}
}
--- linux-2.6.34/net/socket.c~ 2010-07-06 13:40:05.892545375 +0200
+++ linux-2.6.34/net/socket.c 2010-07-06 14:53:01.074608654 +0200
-@@ -1573,18 +1573,6 @@
+@@ -1573,12 +1573,6 @@
newsock->type = sock->type;
newsock->ops = sock->ops;
- sock_release(newsock);
- goto out_put;
- }
--
-- err = gr_search_accept(sock);
-- if (err) {
-- sock_release(newsock);
-- goto out_put;
-- }
-
/*
* We don't need try_module_get here, as the listening socket (sock)