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 _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
