Current-Users archive

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

Re: dhcpcd vs dhclient: part II (fxp0)



In article <20180308160250.GN7417%mail.duskware.de@localhost>,
Martin Husemann  <martin%duskware.de@localhost> wrote:
>On Thu, Mar 08, 2018 at 04:00:49PM +0000, Roy Marples wrote:
>> This should be alleviated somewhat in -current and -8 with the new address
>> handling.
>> The link will still flap, but dhcpcd will now persist the lease and give
>> time for the lease to be renewed before expiring it and going into discovery
>> once more.
>
>And we should try to fix the fxp driver.

Well...


...
        /*      
         * Initialize the multicast filter.  Do this now, since we might
         * have to setup the config block differently.
         */
        fxp_mc_setup(sc);
        
        prm = (ifp->if_flags & IFF_PROMISC) ? 1 : 0;
        allm = (ifp->if_flags & IFF_ALLMULTI) ? 1 : 0;
...

And initializing the control block is probably what makes the link flap.

christos



Home | Main Index | Thread Index | Old Index