openwrt/target/linux/generic
Mathias Kresin 35ab804ea7 kernel: swconfig: make compatible with kernel 5.2
Since kernel 5.2 within netlink messages the NLA_F_NESTED nested flag is
validated. But swconfig/swlib doesn't set the flag for
SWITCH_ATTR_OP_VALUE_PORTS related netlink messages and assigning ports
to vlans via

  swconfig dev switch0 vlan 1 set ports '0 1 2 3 4 6t'

Errors put with "Failed to set attribute: Invalid input data or
parameter".

Relax the validation rules and use the deprecated functions, to use the
same level of validation as it was till kernel 5.1. Depending on who has
swconfig related netlink messages implemented, there might be more
broken tools out there and we should keep backward compatibility if
possible.

Signed-off-by: Mathias Kresin <dev@kresin.me>
Tested-by: Rafał Miłecki <rafal@milecki.pl>
2020-02-12 22:15:14 +01:00
..
backport-4.14 kernel: act_ctinfo: really fix backport this time 2020-01-24 14:35:31 +00:00
backport-4.19 kernel: bump 4.19 to 4.19.101 2020-02-04 18:10:13 +01:00
files kernel: swconfig: make compatible with kernel 5.2 2020-02-12 22:15:14 +01:00
hack-4.14 kernel: bump 4.14 to 4.14.169 2020-02-04 18:10:13 +01:00
hack-4.19 kernel: bump 4.19 to 4.19.101 2020-02-04 18:10:13 +01:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-4.14 kernel: rewrite run_parsers_by_type() to use add_mtd_partitions() 2020-02-11 16:55:38 +01:00
pending-4.19 kernel: remove duplicate flash chip definition 2020-02-06 19:35:54 +02:00
pending-5.4 kernel: add support for GD25D05 SPI NOR 2020-02-04 18:10:13 +01:00
PATCHES
config-4.14 generic: update config-4.14 2020-01-12 16:27:33 +01:00
config-4.19 kernel: add SFP support for Methode DM7052 NBASE-T module 2020-01-21 22:32:48 +01:00