Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2017 15:15:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217871] SLAAC on a newly created epair sometimes fails to add routes
Message-ID:  <bug-217871-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217871

            Bug ID: 217871
           Summary: SLAAC on a newly created epair sometimes fails to add
                    routes
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

SLAAC is supposed to both configure an interface and add its routes to the
routing table.  Most of the time it succeeds.  However, the test case for
BUG196361 revealed occasional failures.  If you configure an epair interface
(both sides) immediately after creating it with "ifconfig epair create",
sometimes the interface will get configured but not routes will be added.=20
Workarounds are:

1) Add a 1 second sleep between "ifconfig epair create" and statically
configuring the a half of the epair.  It is not sufficient to add the sleep
between statically configuring the a half and using SLAAC to configure the B
half.

2) Add a longish (precise time unknown, but > 5 seconds) sleep between
destroying an epair interface and creating a new one.  This bug has not been
observed the first time that an epair is created.

The test case, currently disabled, is
sys/netinet/fibs_test:slaac_on_nondefault_fib6

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217871-8>