NetworkManager/src
Dan Williams ffd961febf core: properly initialize unmanaged_flags and handle carrier_changed() for unmanaged devices
Fixes the following g_warn():
    #0  0x0000003370c504e9 in g_logv () from /lib64/libglib-2.0.so.0
    #1  0x0000003370c5063f in g_log () from /lib64/libglib-2.0.so.0
    #2  0x0000003370c50956 in g_warn_message () from /lib64/libglib-2.0.so.0
    #3  0x0000000000439962 in carrier_changed (device=0x1d94300, carrier=1) at devices/nm-device.c:1021
    #4  0x0000000000488f12 in carrier_changed (device=0x1d94300, carrier=1) at devices/nm-device-ethernet.c:1646
    #5  0x0000000000434c94 in nm_device_set_carrier (device=device@entry=0x1d94300, carrier=1) at devices/nm-device.c:1104
    #6  0x0000000000434dd5 in check_carrier (device=device@entry=0x1d94300) at devices/nm-device.c:1298
    #7  0x0000000000434ef8 in constructed (object=0x1d94300) at devices/nm-device.c:550
    #8  0x0000003371c15d87 in g_object_new_internal () from /lib64/libgobject-2.0.so.0
    #9  0x0000003371c17814 in g_object_new_valist () from /lib64/libgobject-2.0.so.0
    #10 0x0000003371c17c11 in g_object_new () from /lib64/libgobject-2.0.so.0
    #11 0x000000000048bc2e in nm_device_ethernet_new (platform_device=platform_device@entry=0x1d82e58) at devices/nm-device-ethernet.c:336
    #12 0x000000000047c600 in platform_link_added (self=0x1d70150, ifindex=ifindex@entry=2, plink=plink@entry=0x1d82e58, reason=reason@entry=NM_PLATFORM_REASON_INTERNAL) at nm-manager.c:1954
    #13 0x000000000047c7db in platform_link_cb (platform=<optimized out>, ifindex=2, plink=0x1d82e58, change_type=<optimized out>, reason=NM_PLATFORM_REASON_INTERNAL, user_data=0x1d70150) at nm-manager.c:2038
    #14 0x0000003371805d8c in ffi_call_unix64 () from /lib64/libffi.so.6
    #15 0x00000033718056bc in ffi_call () from /lib64/libffi.so.6
    #16 0x0000003371c10ad8 in g_cclosure_marshal_generic () from /lib64/libgobject-2.0.so.0
    #17 0x0000003371c10298 in g_closure_invoke () from /lib64/libgobject-2.0.so.0
    #18 0x0000003371c2235d in signal_emit_unlocked_R () from /lib64/libgobject-2.0.so.0
    #19 0x0000003371c2a0f2 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0
    #20 0x0000003371c2a3af in g_signal_emit () from /lib64/libgobject-2.0.so.0
    #21 0x000000000044f6ba in nm_platform_query_devices () at platform/nm-platform.c:330
    #22 0x000000000047de4c in nm_manager_start (self=0x1d70150) at nm-manager.c:4025
    #23 0x0000000000429d31 in main (argc=1, argv=0x7fffb4c31628) at main.c:654

https://mail.gnome.org/archives/networkmanager-list/2014-June/msg00000.html

Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-06-02 19:07:57 +02:00
..
config all: g_type_init() has been deprecated in GLib 2.35.0 2014-05-27 16:58:21 +02:00
devices core: properly initialize unmanaged_flags and handle carrier_changed() for unmanaged devices 2014-06-02 19:07:57 +02:00
dhcp-manager dhcp: dhclient v6 stores address lifetimes in different variables (rh #1086237) 2014-05-29 11:49:28 +02:00
dns-manager dns: preliminary support for unbound (bgo #699810) 2014-05-30 21:29:26 +02:00
dnsmasq-manager all: g_type_init() has been deprecated in GLib 2.35.0 2014-05-27 16:58:21 +02:00
firewall-manager firewall: ignore UNKNOWN_INTERFACE errors 2014-02-25 17:22:08 -06:00
logging core/logging: remove thread-safe initialization guard for nm_logging_syslog_openlog() 2014-06-02 16:08:02 +02:00
platform platform: fix crash after 'fix check_cache_items() to check items in two steps' 2014-05-30 20:20:16 +02:00
posix-signals core: use non-recursive build 2013-05-08 15:07:18 -04:00
ppp-manager all: g_type_init() has been deprecated in GLib 2.35.0 2014-05-27 16:58:21 +02:00
rdisc all: g_type_init() has been deprecated in GLib 2.35.0 2014-05-27 16:58:21 +02:00
settings keyfile: support NM_SETTING_BRIDGE_MAC_ADDRESS property 2014-05-30 17:02:31 +02:00
supplicant-manager all: g_type_init() has been deprecated in GLib 2.35.0 2014-05-27 16:58:21 +02:00
tests trivial: clarify comments in test-general.c and NetworkManagerUtils.c 2014-05-30 09:21:02 +02:00
vpn-manager vpn-manager: remove some dead code 2014-03-05 11:20:54 -05:00
main.c all: g_type_init() has been deprecated in GLib 2.35.0 2014-05-27 16:58:21 +02:00
Makefile.am dns: preliminary support for unbound (bgo #699810) 2014-05-30 21:29:26 +02:00
NetworkManagerUtils.c trivial: clarify comments in test-general.c and NetworkManagerUtils.c 2014-05-30 09:21:02 +02:00
NetworkManagerUtils.h core: add ASSERT_VALID_PATH_COMPONENT function 2014-04-10 16:27:02 +02:00
nm-activation-request.c core: correctly handle pre-activation dependency failure (rh #1069695) 2014-03-04 15:21:29 -06:00
nm-activation-request.h core: allow active connection 'master' to be set after object creation 2013-10-31 14:15:08 -05:00
nm-active-connection.c core: add parameter to ignore error in add/remove pending action 2014-05-01 22:06:52 +02:00
nm-active-connection.h core: rename function nm_active_connection_get_name() to nm_active_connection_get_id() 2014-03-05 21:15:20 +01:00
nm-auth-subject.c settings: prefer secret agents in the same process as the request 2013-12-03 16:41:00 -05:00
nm-auth-subject.h settings: prefer secret agents in the same process as the request 2013-12-03 16:41:00 -05:00
nm-connection-provider.c core: remove useless NMSettings::connections-loaded signal 2014-01-23 15:14:49 -05:00
nm-connection-provider.h core: add nm_connection_provider_get() 2014-03-03 09:32:40 -06:00
nm-connectivity.c trivial: nm_connectivity_check_async() returns void -> use g_return_if_fail() 2013-08-29 10:22:22 +02:00
nm-connectivity.h core: provide additional network connectivity information 2013-08-28 10:54:08 -04:00
nm-dbus-manager.c dbus-manager: don't try to create private bus in test programs 2014-04-23 10:19:17 -04:00
nm-dbus-manager.h core: grab remote process id when authenticating D-Bus clients 2013-10-31 14:15:07 -05:00
nm-dcb.c dcb: wait for carrier down/up after disabling FCoE 2014-04-02 09:37:15 -05:00
nm-dcb.h dcb: separate DCB enable/disable and wait for carrier changes (rh #799241) (rh #1081991) 2014-04-02 09:37:15 -05:00
nm-dhcp4-config.c core: make nm-properties-changed-signal always export the right properties 2013-05-20 16:38:33 -03:00
nm-dhcp4-config.h core: make nm-properties-changed-signal always export the right properties 2013-05-20 16:38:33 -03:00
nm-dhcp6-config.c core: make nm-properties-changed-signal always export the right properties 2013-05-20 16:38:33 -03:00
nm-dhcp6-config.h core: make nm-properties-changed-signal always export the right properties 2013-05-20 16:38:33 -03:00
nm-dispatcher.c dispatcher: add better debugging 2014-04-18 11:33:15 -04:00
nm-dispatcher.h core: add cancelation to dispatcher calls 2012-09-11 17:17:58 -05:00
nm-ip4-config.c core: preserve later expiry in nm_ip[46]_config_add_address() 2014-05-03 03:44:23 +02:00
nm-ip4-config.h platform/core: add back support for PtP/peer addresses (rh #1018317) 2013-12-02 15:00:28 -05:00
nm-ip6-config.c core: preserve later expiry in nm_ip[46]_config_add_address() 2014-05-03 03:44:23 +02:00
nm-ip6-config.h core: sort IPv6 addresses (add nm_ip6_config_addresses_sort()) 2014-04-11 11:13:06 +02:00
nm-manager-auth.c core: fix crash when connecting to new Wi-Fi network (bgo #723163) 2014-01-28 12:09:22 -05:00
nm-manager-auth.h core: remove unused auth chain creation functions 2013-10-31 14:15:08 -05:00
nm-manager.c core: remove unused 'error' argument to check_connection_compatible() 2014-05-30 13:49:30 -05:00
nm-manager.h core: refactor to return const GSList * from nm_manager_get_devices() 2014-05-13 13:50:25 -05:00
nm-policy.c core/firewall: fix accessing non-existing connection for device in firewall_started() 2014-06-02 16:08:02 +02:00
nm-policy.h core: add NMManager:primary-connection and :activating-connection 2013-08-28 11:01:13 -04:00
nm-properties-changed-signal.c logging: tweak logging-enabled functions 2013-12-20 09:57:13 -05:00
nm-properties-changed-signal.h core: make nm-properties-changed-signal always export the right properties 2013-05-20 16:38:33 -03:00
nm-rfkill-manager.c core: split NMRfkillManager out of NMUdevManager 2013-06-05 17:49:24 -03:00
nm-rfkill-manager.h core: split NMRfkillManager out of NMUdevManager 2013-06-05 17:49:24 -03:00
nm-session-monitor-ck.c core: make NMSessionMonitor non-refcounted 2013-12-03 16:39:37 -05:00
nm-session-monitor-null.c core: make NMSessionMonitor non-refcounted 2013-12-03 16:39:37 -05:00
nm-session-monitor-systemd.c sessions: fix return value handling for sd_uid_get_sessions() (bgo #707983) 2014-01-23 16:48:19 -06:00
nm-session-monitor.h settings: clean up connection visibility and session change handling 2010-10-26 16:33:47 -05:00
nm-session-utils.c Use glib-mkenums to generate enum types 2012-02-15 11:42:15 -05:00
nm-session-utils.h Fix names of error enum values 2012-03-12 15:29:52 -04:00
nm-sleep-monitor-systemd.c sleep-monitor: add missing include 2013-09-13 09:05:07 -04:00
nm-sleep-monitor-upower.c core: convert the DBus manager to a single-ref object 2013-05-20 16:38:33 -03:00
nm-sleep-monitor.h core: factor out the upower suspend/resume code (bgo #677694) 2012-10-13 09:20:00 -05:00
nm-types.h core: add header for NM object types 2012-12-17 17:01:10 -06:00
org.freedesktop.NetworkManager.conf dbus: kill at_console usage in permissions (bgo #707983) (rh #979416) 2014-01-23 16:48:19 -06:00