devices: observe externally-caused master/slave changes (rh #1066706)

System Internals / NetworkManager - Dan Winship [gnome.org] - 6 June 2014 09:14 UTC

If a link's "master" property changes unexpectedly (ie, from outside NM), update the master and slave NMDevices to reflect it, without making any changes to them.

08e0cfb devices: observe externally-caused master/slave changes (rh #1066706)
src/devices/nm-device-bond.c | 58 ++++++++++++-------
src/devices/nm-device-bridge.c | 37 ++++++++----
src/devices/nm-device-team.c | 59 ++++++++++++-------
src/devices/nm-device.c | 123 +++++++++++++++++++++++++++++-----------
src/devices/nm-device.h | 3 +-
5 files changed, 189 insertions(+), 91 deletions(-)

Upstream: cgit.freedesktop.org


  • Share