diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-08-15 00:00:16 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-08-15 00:00:16 +0200 |
commit | 469aa1df95d90a047fa0030ff48fe4a06214fa5d (patch) | |
tree | f823be137a6a8b8afeca7019aa863b5b545c58db /udevd.c | |
parent | be31371fbb70b5799f30ff081585216715687b6b (diff) |
udevd: remove huge socket buffer on the control socket
Diffstat (limited to 'udevd.c')
-rw-r--r-- | udevd.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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) { |