Re: [PATCH]: The 6to4 stf0 interface flapping in/out of tentative in FreeBSD 11

2018-06-25 Thread Viktor Dukhovni
> On Jun 22, 2018, at 1:41 PM, Andrey V. Elsukov wrote: > > Your change looks reasonable due to IPv6 DAD procedure does check for > presence of IFF_DRV_RUNNING flag. But actually it seems the right > solution should be disabling DAD for if_stf(4) interface. > IPv6 DAD requires that given inter

Re: [PATCH]: The 6to4 stf0 interface flapping in/out of tentative in FreeBSD 11

2018-06-22 Thread Andrey V. Elsukov
On 22.06.2018 21:08, Viktor Dukhovni wrote: >> Your change looks reasonable due to IPv6 DAD procedure does check for >> presence of IFF_DRV_RUNNING flag. But actually it seems the right >> solution should be disabling DAD for if_stf(4) interface. >> IPv6 DAD requires that given interface should be

Re: [PATCH]: The 6to4 stf0 interface flapping in/out of tentative in FreeBSD 11

2018-06-22 Thread Viktor Dukhovni
> On Jun 22, 2018, at 1:41 PM, Andrey V. Elsukov wrote: > > Your change looks reasonable due to IPv6 DAD procedure does check for > presence of IFF_DRV_RUNNING flag. But actually it seems the right > solution should be disabling DAD for if_stf(4) interface. > IPv6 DAD requires that given inter

Re: [PATCH]: The 6to4 stf0 interface flapping in/out of tentative in FreeBSD 11

2018-06-22 Thread Andrey V. Elsukov
On 22.06.2018 19:38, Viktor Dukhovni wrote: > I just upgraded to 11.1-p10, forgetting I had patched my kernel, > and the stf0 interface flapping was back, with IPv6 connectivity > disappearing every other second or so (interface shows as "tentative" > and outgoing connections fail with "can't assig

Re: [PATCH]: The 6to4 stf0 interface flapping in/out of tentative in FreeBSD 11

2018-06-22 Thread Viktor Dukhovni
On Mon, Nov 06, 2017 at 04:22:48AM +, Viktor Dukhovni wrote: > Today, I looked closely at the kernel sources and found the issue. > Patch below. Interfaces found to not have IFF_DRV_RUNNING in > if_drv_flags by the periodic interface scan are marked tentative. > Since the "stf" driver did not

[PATCH]: The 6to4 stf0 interface flapping in/out of tentative in FreeBSD 11

2017-11-05 Thread Viktor Dukhovni
Some time ago I wrote: > On Mar 4, 2017, at 9:05 PM, Viktor Dukhovni wrote: > > In trying to set up a 6to4 node under 11.0-RELEASE-p8, and the stf0 > interface is constantly flipping in and out of "tentative" state, at > seemingly 1 second intervals. Is that to be expected? Am I missing > some