[systemd-devel] networkd: Loosing nic's driver set functionality
Marcel Holtmann
marcel at holtmann.org
Wed Jan 22 11:08:40 PST 2014
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