NetworkManager/libnm-core
Jiří Klimeš b10e09ac17 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

(cherry picked from commit 687b651598)
2015-10-07 14:00:59 +02:00
..
tests build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +02:00
crypto.c libnm/crypto: fix uninitialized variable in crypto_md5_hash() 2014-12-04 16:24:05 +01:00
crypto.h libnm-core: relax restrictions on input arguments for crypto_md5_hash() 2014-12-04 08:39:54 -05:00
crypto_gnutls.c libnm-core: call crypto_init() on the fly 2014-12-04 08:39:54 -05:00
crypto_nss.c libnm-core: call crypto_init() on the fly 2014-12-04 08:39:54 -05:00
Makefile.am build: extract version macros from "nm-version.h" to new header file "nm-version-macros.h" 2015-09-30 23:35:52 +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:35:52 +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-core: don't assert in nm_connection_get_uuid() for valid connection 2015-08-20 18:05:43 +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:51:36 +02:00
nm-core-types.h libnm: don't include "nm-version.h" in "nm-dbus-interface.h" 2015-09-25 15:51:36 +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:35:52 +02:00
nm-errors.c libnm: don't include "nm-version.h" in "nm-dbus-interface.h" 2015-09-25 15:51:36 +02:00
nm-errors.h libnm, docs: docs fixes 2014-11-07 13:16:54 -05:00
nm-keyfile-internal.h libnm: consider ordering for _nm_keyfile_equals() 2015-07-03 09:24:03 +02:00
nm-keyfile-reader.c libnm/vlan: default to vlan.flags=REORDER_HDR for new connections (rh #1250225) 2015-10-07 14:00:59 +02:00
nm-keyfile-utils.c libnm: consider ordering for _nm_keyfile_equals() 2015-07-03 09:24:03 +02:00
nm-keyfile-utils.h libnm: add keyfile support to libnm-core 2015-07-03 09:24:01 +02:00
nm-keyfile-writer.c libnm/vlan: default to vlan.flags=REORDER_HDR for new connections (rh #1250225) 2015-10-07 14:00:59 +02:00
nm-property-compare.c all: consistently include config.h 2014-11-13 17:18:42 -05:00
nm-property-compare.h libnm-core: change connection hash tables to variants in API 2014-09-18 11:51:09 -04:00
nm-setting-8021x.c supplicant: allow with_system_ca_path to be a file name (rh #1236548) 2015-07-08 17:12:19 +02:00
nm-setting-8021x.h libnm: add define for cert scheme prefix file:// for NMSetting8021x 2015-07-03 09:24:01 +02:00
nm-setting-adsl.c libnm-core/libnm-util: fix an assertion in adsl setting 2015-09-21 15:48:44 +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 libnm*: fix library gettext usage 2014-11-13 17:18:42 -05: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 bond: normalize bond mode to string notation (rh #1171009) 2015-01-21 12:18:15 -05: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 libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05: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 bridge: Properly check range of STP properties (rh #1160815) 2015-01-09 12:17:30 +01:00
nm-setting-bridge.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-cdma.c libnm: don't check for valid passwords in NMSetting:verify() 2015-03-20 13:07:10 +01: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 ifcfg-rh: add support for CONNECTION_METERED 2015-07-22 13:52:46 +02:00
nm-setting-connection.h libnm-core: add 'metered' property to NMSettingConnection 2015-07-22 13:52:45 +02:00
nm-setting-dcb.c libnm: fix memleak for app_fcoe_mode in NMSettingDcb 2015-03-13 11:50:03 +01: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 libnm: don't check for valid passwords in NMSetting:verify() 2015-03-20 13:07:10 +01: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 libnm, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05: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-core: don't assert against non-NULL @ip argument to canonicalize_ip() 2015-07-22 14:50:51 +02:00
nm-setting-ip-config.h libnm: add NMSettingIPConfig:route-metric 2014-11-07 15:19:06 +01:00
nm-setting-ip4-config.c ifcfg-rh: support ipvx.route-metric property as IPVX_ROUTE_METRIC 2015-01-12 22:03:04 +01:00
nm-setting-ip4-config.h libnm-core: extract NMSettingIPConfig superclass out of IP4, IP6 classes 2014-11-07 07:49:40 -05:00
nm-setting-ip6-config.c libnm-core/libnm-util: fix an erroneous error message 2015-09-25 16:15:38 +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:51:36 +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 libnm*: fix library gettext usage 2014-11-13 17:18:42 -05: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 libnm*: fix library gettext usage 2014-11-13 17:18:42 -05: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: add function nm_setting_802_1x_check_cert_scheme() 2015-07-03 09:24:00 +02:00
nm-setting-serial.c libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05: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 libnm: fix memleak for config in NMSettingTeamPort 2015-03-13 11:50:03 +01: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 libnm: Override parts of nm-setting-docs.xml 2014-11-19 09:24:10 -05: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 14:00:59 +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, libnm-util: move settings doc generation to libnm-core 2014-11-19 09:24:09 -05:00
nm-setting-vpn.h libnm/libnm-util: add VPN 'persistent' property 2014-11-06 21:16:57 -06:00
nm-setting-wimax.c libnm*: fix library gettext usage 2014-11-13 17:18:42 -05:00
nm-setting-wimax.h libnm-core: add nm-core-types.h, remove cross-includes 2014-10-28 17:17:17 -04:00
nm-setting-wired.c libnm-core: add Wake-on-LAN properties to NMSettingWired 2015-08-21 18:12:36 +02:00
nm-setting-wired.h libnm-core: trivial: fix glib-mkenums parse warning 2015-08-21 18:12:36 +02:00
nm-setting-wireless-security.c libnm: add @deep_copy argument to _nm_utils_strv_to_slist() and _nm_utils_slist_to_strv() 2015-07-03 09:24:05 +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:51:36 +02:00
nm-setting-wireless.h libnm: don't include "nm-version.h" in "nm-dbus-interface.h" 2015-09-25 15:51:36 +02:00
nm-setting.c libnm: fix compare_property() to handle default values 2015-06-19 13:06:37 +02:00
nm-setting.h libnm: fix nm-setting-docs.xml property types 2014-11-19 09:24:10 -05: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-03 09:24:05 +02:00
nm-utils.c nmcli: wake-on-lan property set/get fixes 2015-09-15 12:18:18 +02:00
nm-utils.h libnm: don't include "nm-version.h" in "nm-dbus-interface.h" 2015-09-25 15:51:36 +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:35:52 +02:00
nm-vpn-dbus-interface.h vpn: allow plugins to indicate 'can-persist' capability 2014-11-06 21:17:34 -06:00