NetworkManager/src/devices
Beniamino Galvani 93e9010b75 device: don't transition assumed devices to FAILED before ACTIVATED
If the activation of an assumed device fails, we first set the device
state to FAILED and then to ACTIVATED. In the FAILED state, the active
connection transitions to DEACTIVATED and clears its device pointer;
hence we end up with an inconsistent state which causes assertion
failures in other parts of the code (for example, get_best_ip_config()
assumes that the device of the best active connection is not NULL).

Don't first transition to FAILED and then to ACTIVATED, just set the
latter.

https://bugzilla.redhat.com/show_bug.cgi?id=1737774
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/351
2019-12-05 17:09:53 +01:00
..
adsl meson: Remove tests related to check_so_symbols 2019-10-01 09:49:33 +02:00
bluetooth build/meson: fix link failure of bluetooth's nm-bt-test 2019-12-02 13:47:48 +01:00
ovs ovs: allow changing mac address of bridges and interfaces 2019-11-20 10:44:06 +01:00
team meson: Remove tests related to check_so_symbols 2019-10-01 09:49:33 +02:00
tests meson: Improve the src build file 2019-10-01 09:49:33 +02:00
wifi wifi/utils: complete key-mgmt=owe for OWE capable APs 2019-12-05 14:00:10 +01:00
wwan modem-broadband: avoid a crash if we fail to guess an APN 2019-12-02 02:32:18 +01:00
meson.build build: add initial support for meson build system 2017-12-13 15:48:50 +01:00
nm-acd-manager.c acd: poll the acd fd after starting the announcements 2019-11-06 16:37:59 +01:00
nm-acd-manager.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-6lowpan.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-6lowpan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-bond.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-bond.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-bridge.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-bridge.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-dummy.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-dummy.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-ethernet-utils.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-ethernet-utils.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-ethernet.c ethernet: wait for carrier before starting supplicant 2019-11-21 10:20:47 +01:00
nm-device-ethernet.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-device-factory.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-device-factory.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-device-generic.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-generic.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-infiniband.c device: fix setting MTU from connection when limited by parent 2019-10-10 15:08:16 +02:00
nm-device-infiniband.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-ip-tunnel.c device: fix setting MTU from connection when limited by parent 2019-10-10 15:08:16 +02:00
nm-device-ip-tunnel.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-logging.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-device-macsec.c macsec: update MTU according to parent's one 2019-10-10 15:08:16 +02:00
nm-device-macsec.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-macvlan.c macvlan: update MTU according to parent's one 2019-10-10 15:08:16 +02:00
nm-device-macvlan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-ppp.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-device-ppp.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-device-private.h device: fix setting MTU from connection when limited by parent 2019-10-10 15:08:16 +02:00
nm-device-tun.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-tun.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-veth.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-veth.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-vlan.c device: introduce generic function to inherit MTU from parent 2019-10-10 15:08:16 +02:00
nm-device-vlan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-vxlan.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-vxlan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-wireguard.c device: allow reapply when the device is activating 2019-10-23 16:09:56 +02:00
nm-device-wireguard.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-wpan.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device-wpan.h all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-device.c device: don't transition assumed devices to FAILED before ACTIVATED 2019-12-05 17:09:53 +01:00
nm-device.h core: export interface flags of devices 2019-11-22 10:18:26 +01:00
nm-lldp-listener.c all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00
nm-lldp-listener.h all: manually drop code comments with file description 2019-10-01 07:50:52 +02:00