From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/netifrc:master commit in: net/, doc/
Date: Wed, 28 Aug 2013 16:02:30 +0000 (UTC) [thread overview]
Message-ID: <1377705633.732a9a4999f479ee97a404252f6a0eba4a86e338.robbat2@OpenRC> (raw)
commit: 732a9a4999f479ee97a404252f6a0eba4a86e338
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 28 16:00:33 2013 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Wed Aug 28 16:00:33 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/netifrc.git;a=commit;h=732a9a49
net/iproute2: increase default dad_timeout to 10s
If you have a NIC that takes a long time to come up, the previous
default of 5 seconds is too low, because the card might not be available
yet. Increase the default to 10 seconds.
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
X-Gentoo-Bug: 482300
---
doc/net.example.BSD.in | 12 +++++++-----
doc/net.example.Linux.in | 10 ++++++----
net/iproute2.sh | 2 +-
3 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/doc/net.example.BSD.in b/doc/net.example.BSD.in
index 2509c9f..d3bd15b 100644
--- a/doc/net.example.BSD.in
+++ b/doc/net.example.BSD.in
@@ -86,12 +86,14 @@
# IPv6 addresses usually must complete a duplicate address detection process
# before they can be bound to by daemons; they are held in a 'tentative' state
-# until this completes. Setting the 'nodad' flag (see config_eth0 above) is
+# until this completes. Setting the 'nodad' flag (see config_eth0 above) is
# one way to avoid this tentative state, otherwise the service will wait
-# dad_timeout seconds (defaults to 5) for tentative state to clear on all IPv6
-# addresses set on the interface. As usual, dad_timeout can be adjusted on a
-# per-interface basis. Set to 0 to disable the wait entirely.
-#dad_timeout_eth0=5
+# dad_timeout seconds (defaults to 10) for tentative state to clear on all IPv6
+# addresses set on the interface. As usual, dad_timeout can be adjusted on a
+# per-interface basis. If your interface takes a long time to establish
+# carrier, you may wish to use a higher value.
+# Set to 0 to disable the wait entirely.
+#dad_timeout_eth0=10
# You may wish to disable the interface being brought down when stopping.
# This is only of use for WakeOnLan.
diff --git a/doc/net.example.Linux.in b/doc/net.example.Linux.in
index caffed7..e838f28 100644
--- a/doc/net.example.Linux.in
+++ b/doc/net.example.Linux.in
@@ -137,10 +137,12 @@
# before they can be bound to by daemons; they are held in a 'tentative' state
# until this completes. Setting the 'nodad' flag (see config_eth0 above) is
# one way to avoid this tentative state, otherwise the service will wait
-# dad_timeout seconds (defaults to 5) for tentative state to clear on all IPv6
-# addresses set on the interface. As usual, dad_timeout can be adjusted on a
-# per-interface basis. Set to 0 to disable the wait entirely.
-#dad_timeout_eth0=5
+# dad_timeout seconds (defaults to 10) for tentative state to clear on all IPv6
+# addresses set on the interface. As usual, dad_timeout can be adjusted on a
+# per-interface basis. If your interface takes a long time to establish
+# carrier, you may wish to use a higher value.
+# Set to 0 to disable the wait entirely.
+#dad_timeout_eth0=10
# You may wish to disable the interface being brought down when stopping.
# This is only of use for WakeOnLan.
diff --git a/net/iproute2.sh b/net/iproute2.sh
index 58b7bc4..096e724 100644
--- a/net/iproute2.sh
+++ b/net/iproute2.sh
@@ -332,7 +332,7 @@ iproute2_post_start()
{
local n=
eval n=\$dad_timeout_${IFVAR}
- [ -z "$n" ] && n=${dad_timeout:-5}
+ [ -z "$n" ] && n=${dad_timeout:-10}
local policyroute_order=
eval policyroute_order=\$policy_rules_before_routes_${IFVAR}
next reply other threads:[~2013-08-28 16:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-28 16:02 Robin H. Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-11-08 14:30 [gentoo-commits] proj/netifrc:master commit in: net/, doc/ Robin H. Johnson
2015-11-08 14:30 Robin H. Johnson
2019-04-21 4:11 Robin H. Johnson
2020-05-31 23:21 Robin H. Johnson
2020-06-02 21:54 Robin H. Johnson
2021-01-05 14:27 Lars Wendler
2021-01-18 12:33 Lars Wendler
2021-04-05 20:00 Robin H. Johnson
2021-04-05 20:00 Robin H. Johnson
2023-11-25 4:54 Robin H. Johnson
2024-01-07 9:42 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1377705633.732a9a4999f479ee97a404252f6a0eba4a86e338.robbat2@OpenRC \
--to=robbat2@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox