You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
backport-4.14 kernel: act_ctinfo: really fix backport this time 4 years ago
backport-4.19 kernel: bump 4.19 to 4.19.101 4 years ago
files kernel: swconfig: make compatible with kernel 5.2 4 years ago
hack-4.14 kernel: bump 4.14 to 4.14.169 4 years ago
hack-4.19 kernel: bump 4.19 to 4.19.101 4 years ago
image treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
other-files kernel: move initramfs's init script out of base-files 7 years ago
pending-4.14 kernel: rewrite run_parsers_by_type() to use add_mtd_partitions() 4 years ago
pending-4.19 kernel: remove duplicate flash chip definition 4 years ago
pending-5.4 kernel: add support for GD25D05 SPI NOR 4 years ago
PATCHES kernel: update PATCHES with a stricter policy 11 years ago
config-4.14 generic: update config-4.14 4 years ago
config-4.19 kernel: add SFP support for Methode DM7052 NBASE-T module 4 years ago