tech-kern archive

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

Re: struct ifnet and ifaddr handling [was: Re: Making global variables of if.c MPSAFE]

On Wed, Nov 26, 2014 at 1:31 AM, Ryota Ozaki <> wrote:
>> I'd change if__pad1 to if_flags2 and define IFF2_SLOWTIMO_MPSAFE etc.
> Hmm, I think it's a last resort. I don't want to do something like
> (ifp->if_flags & IFF_XXX) && (ifp->if_flags2 & IFF_XXX2) if possible.
> I'm thinking more to avoid the separation.

It's a temporary measure until a good struct ifnet will be designed.

I propose to keep ABI by reusing if__pad1.  If you propose ABI
breakage, you should understand it and estimate the impact by
yourself. :)

Home | Main Index | Thread Index | Old Index