summaryrefslogtreecommitdiff
path: root/udevd.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-08-15 00:00:16 +0200
committerKay Sievers <kay.sievers@suse.de>2006-08-15 00:00:16 +0200
commit469aa1df95d90a047fa0030ff48fe4a06214fa5d (patch)
treef823be137a6a8b8afeca7019aa863b5b545c58db /udevd.c
parentbe31371fbb70b5799f30ff081585216715687b6b (diff)
udevd: remove huge socket buffer on the control socket
Diffstat (limited to 'udevd.c')
-rw-r--r--udevd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/udevd.c b/udevd.c
index f4f918900a..5c51beed1e 100644
--- a/udevd.c
+++ b/udevd.c
@@ -812,7 +812,6 @@ static void reap_sigchilds(void)
static int init_udevd_socket(void)
{
struct sockaddr_un saddr;
- const int buffersize = 16 * 1024 * 1024;
socklen_t addrlen;
const int feature_on = 1;
int retval;
@@ -829,9 +828,6 @@ static int init_udevd_socket(void)
return -1;
}
- /* set receive buffersize */
- setsockopt(udevd_sock, SOL_SOCKET, SO_RCVBUFFORCE, &buffersize, sizeof(buffersize));
-
/* the bind takes care of ensuring only one copy running */
retval = bind(udevd_sock, (struct sockaddr *) &saddr, addrlen);
if (retval < 0) {