core: add class function for device unrealization

System Internals / NetworkManager - Dan Williams [redhat.com] - 4 December 2015 05:15 UTC

When a device is unrealized, its class-specific properties must also be cleared since the device is no longer valid.

0be66bb core: add class function for device unrealization
src/devices/nm-device-ip-tunnel.c | 29 +++++++++
src/devices/nm-device-tun.c | 21 ++++++-
src/devices/nm-device-vlan.c | 11 ++++
src/devices/nm-device-vxlan.c | 20 ++++++-
src/devices/nm-device.c | 119 +++++++++++++++++++++++++++++++++++--
src/devices/nm-device.h | 14 +++++
src/nm-manager.c | 12 +++-
7 files changed, 217 insertions(+), 9 deletions(-)

Upstream: cgit.freedesktop.org


  • Share