immortalwrt/target/linux
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
..
apm821xx kernel: bump 4.19 to 4.19.101 2020-02-04 18:10:13 +01:00
ar71xx kernel: bump 4.14 to 4.14.167 2020-01-24 13:14:33 +01:00
arc770 arc770: gen_axs10x_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:27:32 +01:00
archs38 archs38: gen_axs10x_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:26:35 +01:00
armvirt
at91 at91: gen_at91_sdcard_img.sh: switch to /bin/sh 2019-12-31 01:25:44 +01:00
ath25
ath79 ath79: add support for TP-Link TL-WA830RE v1 2020-02-11 14:31:05 +01:00
bcm53xx bcm53xx: build images for Luxul ABR-4500 and XBR-4500 routers 2020-02-07 09:31:22 +01:00
brcm47xx kernel: bump 4.19 to 4.19.101 2020-02-04 18:10:13 +01:00
brcm63xx brcm63xx: apply updated compatibles for selecting board_info 2020-02-08 19:30:39 +01:00
brcm2708 brcm2708: update to latest patches from RPi foundation 2020-02-04 19:14:13 +01:00
cns3xxx
gemini gemini: dns313_gen_hdd_img.sh: switch to /bin/sh 2019-12-31 01:23:24 +01:00
generic kernel: swconfig: make compatible with kernel 5.2 2020-02-12 22:15:14 +01:00
imx6
ipq40xx kernel: bump 4.19 to 4.19.101 2020-02-04 18:10:13 +01:00
ipq806x kernel: bump 4.19 to 4.19.101 2020-02-04 18:10:13 +01:00
kirkwood kirkwood: exploit BOARD_NAME to set DEVICE_DTS and SUPPORTED_DEVICES 2020-01-23 14:27:12 +01:00
lantiq lantiq: tidy up image/Makefile 2020-01-24 18:52:41 +01:00
layerscape kernel: bump 4.14 to 4.14.169 2020-02-04 18:10:13 +01:00
malta malta: enable HighMem on MIPS32 2020-01-15 22:35:48 +01:00
mediatek kernel: bump 4.19 to 4.19.101 2020-02-04 18:10:13 +01:00
mpc85xx treewide: move mktplinkfw to tplink-v1-image in image-commands.mk 2020-01-08 16:15:29 +01:00
mvebu mvebu: image: align subtargets makefile names 2020-02-01 20:02:36 +01:00
mxs mxs: gen_sdcard_ext4_ext4.sh: use /bin/sh 2019-12-31 01:19:48 +01:00
octeon octeon: apply vendor_model scheme to device definition/image name 2020-01-26 23:00:26 +01:00
octeontx
omap omap: gen_omap_sdcard_img.sh: use /bin/sh 2019-12-31 01:17:09 +01:00
oxnas
pistachio kernel: bump 4.14 to 4.14.169 2020-02-04 18:10:13 +01:00
ramips ramips: append tail to WF2881 initramfs image 2020-02-11 15:13:52 +01:00
rb532 rb532: gen_image.sh: use /bin/sh 2019-12-31 01:16:17 +01:00
samsung samsung: add subtarget condition for device 2020-01-03 00:04:22 +01:00
sunxi kernel: bump 4.14 to 4.14.169 2020-02-04 18:10:13 +01:00
tegra
uml
x86
zynq zynq: derive DEVICE_DTS from device definition name 2020-01-21 14:26:04 +01:00
Makefile