[systemd-devel] networkd: Loosing nic's driver set functionality

Umut Tezduyar umut at tezduyar.com
Wed Jan 22 11:31:47 PST 2014


Hi Marcel, Tom,

Thanks for the tips. Tom, I will try the git and let you know if it
doesn't work but from the kernel code, it seems it should work fine.

Thanks,
Umut

On Wed, Jan 22, 2014 at 8:08 PM, Marcel Holtmann <marcel at holtmann.org> wrote:
> Hi Umut,
>
>> Making RTM_GETLINK and RTM_SETLINK asynchronously is causing
>> RTM_SETLINK to remove the nic's functionality. In my case, I am
>> loosing IFF_MULTICAST after networkd sets the interface up.
>>
>> I am not sure if 5d4795f37229 can solve the problem but the only
>> documentation I found was stating ifi_change is reserved so I didn't
>> look in to it.
>>
>> I have converted GETLINK call to sync and made sure SETLINK uses the
>> flags coming from GETLINK call. Attaching a patch for it. Please
>> ignore it if you can solve the problem in another way.
>
> RTNL is not a synchronous interface. This is just paper over a hole approach. It is not stopping anybody from doing any modification behind your back while you think you wait for your GETLINK response.
>
> Regards
>
> Marcel
>


More information about the systemd-devel mailing list