NetworkManager/libnm-core
Jiří Klimeš 687b651598 libnm/vlan: default to vlan.flags=REORDER_HDR for new connections (rh #1250225)
The kernel defaults REORDER_HDR to 1 when creating a new VLAN, but
NetworkManager's VLAN flags property defaulted to 0. Thus REORDER_HDR was not
set for NM-created VLANs with default values.

We want to match the kernel default, so we change the default value for the
vlan.flags property. However, we do not want to change the flags for existing
connections if the property is missing in connection files. Thus we have to
update plugins for that. We also make sure that vlan.flags is always written
by 'keyfile' when the value is default. That way new connections have flags
property explicitly written and it will be loaded as expected.

https://bugzilla.redhat.com/show_bug.cgi?id=1250225
2015-10-07 13:45:30 +02:00
..
tests libnm,ip4-config: add ipv4.dhcp-timeout property 2015-10-06 14:16:55 +02:00
crypto.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
crypto.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
crypto_gnutls.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
crypto_nss.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
Makefile.am build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:10:29 +02:00
Makefile.libnm-core build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:10:29 +02:00
nm-connection-private.h libnm-core: make nm_setting_verify() take an NMConnection 2014-10-28 17:17:17 -04:00
nm-connection.c libnm: don't assert in nm_connection_get_*() for verified connection 2015-09-18 16:12:36 +02:00
nm-connection.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-core-internal.h libnm: don't include "nm-version.h" in "nm-dbus-interface.h" 2015-09-25 15:42:15 +02:00
nm-core-types.h libnm: don't include "nm-version.h" in "nm-dbus-interface.h" 2015-09-25 15:42:15 +02:00
nm-dbus-interface.h build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:10:29 +02:00
nm-dbus-utils.c libnm/trivial: add code comment to _nm_dbus_error_has_name() 2015-08-25 16:37:43 +02:00
nm-errors.c libnm: don't include "nm-version.h" in "nm-dbus-interface.h" 2015-09-25 15:42:15 +02:00
nm-errors.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-keyfile-internal.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-keyfile-reader.c libnm/vlan: default to vlan.flags=REORDER_HDR for new connections (rh #1250225) 2015-10-07 13:45:30 +02:00
nm-keyfile-utils.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-keyfile-utils.h libnm: add keyfile support to libnm-core 2015-03-12 18:12:26 +01:00
nm-keyfile-writer.c libnm/vlan: default to vlan.flags=REORDER_HDR for new connections (rh #1250225) 2015-10-07 13:45:30 +02:00
nm-property-compare.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-property-compare.h all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-setting-8021x.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-8021x.h libnm: add define for cert scheme prefix file:// for NMSetting8021x 2015-03-12 18:12:27 +01:00
nm-setting-adsl.c libnm-core/libnm-util: fix an assertion in adsl setting 2015-09-21 15:21:50 +02:00
nm-setting-adsl.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bluetooth.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-bluetooth.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bond.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-bond.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bridge-port.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-bridge-port.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-bridge.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-bridge.h libnm-core: add multicast-snooping property to bridge setting 2015-02-26 09:08:13 +01:00
nm-setting-cdma.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-cdma.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-connection.c libnm: mark properties that take effect immediately on active connection (REAPPLY_IMMEDIATELY) 2015-09-18 17:31:51 +02:00
nm-setting-connection.h libnm: add autoconnect-slaves property to NMSettingConnection 2015-06-19 09:32:58 +02:00
nm-setting-dcb.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-dcb.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-generic.c libnm-core: merge NMSetting*Error into NMConnectionError 2014-10-22 08:29:07 -04:00
nm-setting-generic.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-gsm.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-gsm.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-infiniband.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-infiniband.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-ip-config.c libnm: fix gtkdoc for nm_setting_ip_config_next_valid_dns_option() 2015-08-05 16:32:00 +02:00
nm-setting-ip-config.h libnm: make dns-options support an "undefined" default value 2015-06-05 12:26:48 +02:00
nm-setting-ip4-config.c libnm,ip4-config: add ipv4.dhcp-timeout property 2015-10-06 14:16:55 +02:00
nm-setting-ip4-config.h libnm,ip4-config: add ipv4.dhcp-timeout property 2015-10-06 14:16:55 +02:00
nm-setting-ip6-config.c libnm-core/libnm-util: fix an erroneous error message 2015-09-25 16:11:24 +02:00
nm-setting-ip6-config.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-setting-olpc-mesh.c libnm: don't include "nm-version.h" in "nm-dbus-interface.h" 2015-09-25 15:42:15 +02:00
nm-setting-olpc-mesh.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-ppp.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-ppp.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-pppoe.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-pppoe.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-private.h libnm: mark properties that take effect immediately on active connection (REAPPLY_IMMEDIATELY) 2015-09-18 17:31:51 +02:00
nm-setting-serial.c all: make use of new header file "nm-default.h" 2015-08-05 15:32:40 +02:00
nm-setting-serial.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-team-port.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-team-port.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-team.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-team.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-vlan.c libnm/vlan: default to vlan.flags=REORDER_HDR for new connections (rh #1250225) 2015-10-07 13:45:30 +02:00
nm-setting-vlan.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-vpn.c libnm-core: add vpn.timeout property for establishing connections 2015-09-21 16:59:04 +02:00
nm-setting-vpn.h libnm-core: add vpn.timeout property for establishing connections 2015-09-21 16:59:04 +02:00
nm-setting-wimax.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-wimax.h wimax: drop WiMAX support (bgo #747846) 2015-04-17 12:42:23 -04:00
nm-setting-wired.c libnm: backport NMSettingWired Wake-on-LAN symbols to 1.0.6 2015-08-25 10:23:57 +02:00
nm-setting-wired.h libnm-core: trivial: fix glib-mkenums parse warning 2015-08-04 14:50:30 +02:00
nm-setting-wireless-security.c all: drop includes to <glib/gi18n.h> for "nm-default.h" 2015-08-05 15:35:51 +02:00
nm-setting-wireless-security.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wireless.c libnm: don't include "nm-version.h" in "nm-dbus-interface.h" 2015-09-25 15:42:15 +02:00
nm-setting-wireless.h libnm: don't include "nm-version.h" in "nm-dbus-interface.h" 2015-09-25 15:42:15 +02:00
nm-setting.c libnm: mark properties that take effect immediately on active connection (REAPPLY_IMMEDIATELY) 2015-09-18 17:31:51 +02:00
nm-setting.h libnm: mark properties that take effect immediately on active connection (REAPPLY_IMMEDIATELY) 2015-09-18 17:31:51 +02:00
nm-simple-connection.c libnm: normalize connections in nm_simple_connection_new_from_dbus() 2014-12-05 11:04:20 +01:00
nm-simple-connection.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-utils-private.h libnm: expose strv utils function in internal header nm-core-internal.h 2015-07-02 15:50:04 +02:00
nm-utils.c nmcli: wake-on-lan property set/get fixes 2015-09-15 11:46:37 +02:00
nm-utils.h libnm: don't include "nm-version.h" in "nm-dbus-interface.h" 2015-09-25 15:42:15 +02:00
nm-version.h build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:10:29 +02:00
nm-vpn-dbus-interface.h vpn: allow plugins to indicate 'can-persist' capability 2014-11-06 21:17:34 -06:00
nm-vpn-editor-plugin.c libnm,vpn-editor-plugin: don't assert the plugin name is the same as service name 2015-08-21 16:06:39 +02:00
nm-vpn-editor-plugin.h libnm,vpn-editor-plugin: don't assert the plugin name is the same as service name 2015-08-21 16:06:39 +02:00
nm-vpn-plugin-info.c libnm,vpn-editor-plugin: don't assert the plugin name is the same as service name 2015-08-21 16:06:39 +02:00
nm-vpn-plugin-info.h libnm: avoid deprecated warning for NMVpnPluginInfo 2015-08-04 15:59:32 +02:00