summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-08-02 15:02:38 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-08-02 15:10:53 +0200
commitde09cf982772733945dd853bc9a54b7b275af705 (patch)
treef69b7607e41ceee32b8ed3d4061e90d4a85cc04b
parenta8066e9b1421e46b26a435265519bff6f6a35ead (diff)
llmnrd: Increase select() timeout
There is no need to have such a short timeout value (200us), increase it to 50ms in order to reduce CPU load. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
-rw-r--r--llmnr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llmnr.c b/llmnr.c
index b3b2835..a833ef1 100644
--- a/llmnr.c
+++ b/llmnr.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014-2015 Tobias Klauser <tklauser@distanz.ch>
+ * Copyright (C) 2014-2016 Tobias Klauser <tklauser@distanz.ch>
*
* This file is part of llmnrd.
*
@@ -305,7 +305,7 @@ int llmnr_run(void)
nfds = llmnr_sock_ipv4 + 1;
tv.tv_sec = 0;
- tv.tv_usec = 200;
+ tv.tv_usec = 50000;
ret = select(nfds, &rfds, NULL, NULL, &tv);
if (ret < 0) {
er: revert a2361c8735e07322023aedc36e4938b35af31eb0 netfilter: IPv6: fix DSCP mangle code netfilter: IPv6: initialize TOS field in REJECT target module IPVS: init and cleanup restructuring IPVS: Change of socket usage to enable name space exit. netfilter: ebtables: only call xt_compat_add_offset once per rule netfilter: fix ebtables compat support netfilter: ctnetlink: fix timestamp support for new conntracks pch_gbe: support ML7223 IOH PCH_GbE : Fixed the issue of checksum judgment PCH_GbE : Fixed the issue of collision detection NET: slip, fix ldisc->open retval be2net: Fixed bugs related to PVID. ehea: fix wrongly reported speed and port ...
Diffstat (limited to 'arch/arm/mach-mxs/Kconfig')