tech-kern archive

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

Re: struct ifnet locking [was Re: IFEF_MPSAFE]



On Tue, Dec 19, 2017 at 4:52 PM, Nick Hudson <nick.hudson%gmx.co.uk@localhost> wrote:
> On 19/12/2017 03:43, Ryota Ozaki wrote:
>
>
>> BTW I committed a change that disables IFEF_MPSAFE by default on
>> all interfaces because it seems that IFEF_MPSAFE requires additional
>> changes to work safely with it. We should enable it by default if an
>> interface is guaranteed to be safe.
>
> What additional changes?

For example, avoid updating if_flags (and reading it and depending on
the result) in Tx/Rx paths and using if_watchdog.

  ozaki-r



Home | Main Index | Thread Index | Old Index