immortalwrt/target/linux
Mathias Kresin 2111c6e03f
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-04-14 02:59:41 +08:00
..
apm821xx kernel: bump to 4.14.172 / 4.19.108 2020-03-13 12:11:40 +08:00
ar7
ar71xx Merge Lean's source 2020-03-13 23:00:10 +08:00
arc770
archs38
armvirt
at91 at91: switch to 4.14 (#3040) 2020-02-11 17:26:30 +08:00
ath25 kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
ath79 treewide: revert use new procd sysupgrade variable (#4139) 2020-04-02 13:29:45 +08:00
bcm27xx ipq40xx: enable ath10k_thermal by default 2020-04-05 11:28:04 +08:00
bcm53xx kernel: bump 4.19 to 4.19.110 2020-03-19 17:50:48 +08:00
brcm47xx kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
brcm63xx kernel: bump to 4.14.169, 4.19.101 (#2963) 2020-02-06 21:45:40 +08:00
cns3xxx
gemini
generic kernel: swconfig: make compatible with kernel 5.2 2020-04-14 02:59:41 +08:00
imx6 kernel: bump 4.19 to 4.19.110 2020-03-19 17:50:48 +08:00
ipq40xx ipq40xx: fix support for Asus RT-AC1300uhp in 4.19 2020-04-11 19:54:00 +08:00
ipq806x Merge Lean's source 2020-03-27 17:01:40 +08:00
ipq807x ipq807x: add very basic target support 2020-02-29 22:59:08 -08:00
ixp4xx Revert "files: sync from openwrt v19.07 (#2690)" 2020-02-03 12:33:25 +08:00
kirkwood kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
lantiq Revert "files: sync from openwrt v19.07 (#2690)" 2020-02-03 12:33:25 +08:00
layerscape kernel: bump 4.14 to 4.14.173 2020-03-19 17:40:18 +08:00
malta
mediatek treewide: revert use new procd sysupgrade variable (#4139) 2020-04-02 13:29:45 +08:00
mpc85xx kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
mvebu treewide: revert use new procd sysupgrade variable (#4139) 2020-04-02 13:29:45 +08:00
mxs
octeon
octeontx kernel: bump 4.14 to 4.14.173 2020-03-19 17:40:18 +08:00
omap
orion
oxnas oxnas: yet another irqchip related patch 2020-03-23 01:22:59 +08:00
pistachio kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
ramips package: disable duplicate packages 2020-04-13 09:05:10 +08:00
rb532
samsung
sunxi kernel: bump to 4.9.214, 4.14.171, 4.19.106 (#3375) 2020-02-29 16:28:07 +08:00
tegra kernel: bump to 4.14.167, 4.19.98 (#2871) 2020-01-30 01:43:29 +08:00
uml
x86 kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
zynq
Makefile