Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys



On 13/09/2016 02:28, Ryota Ozaki wrote:
> It seems that DAD doesn't run on ifconfig pppoe0 up
> and pppoe0 remains as detached.
> 
> The following processing is happening:
> - ifconfig up calls ioctl(SIOCSIFFLAGS)
>   that calls ifioctl_common normally
> - ifioctl_common schedules DAD eventually
>   but only if IFF_UP & IFF_RUNNING
>   (see in_if_link_up)
> - However, some interfaces including pppoe set
>   IFF_RUNNING *after* calling ifioctl_common
> - Such interfaces don't run DAD
>   and remain as detached
> 
> I don't know how to fix it properly.

Where does pppoe even set IFF_RUNNING? I couldn't find that.


Home | Main Index | Thread Index | Old Index