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
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
..
apm821xx kernel: bump 4.19 to 4.19.101 4 years ago
ar71xx kernel: bump 4.14 to 4.14.167 4 years ago
arc770 arc770: gen_axs10x_sdcard_img.sh: switch to /bin/sh 5 years ago
archs38 archs38: gen_axs10x_sdcard_img.sh: switch to /bin/sh 5 years ago
armvirt treewide: Remove self from MAINTAINER entries 5 years ago
at91 at91: gen_at91_sdcard_img.sh: switch to /bin/sh 5 years ago
ath25 ath25: split up DEVICE_TITLE 5 years ago
ath79 ath79: add support for TP-Link TL-WA830RE v1 4 years ago
bcm53xx bcm53xx: build images for Luxul ABR-4500 and XBR-4500 routers 4 years ago
brcm47xx kernel: bump 4.19 to 4.19.101 4 years ago
brcm63xx brcm63xx: apply updated compatibles for selecting board_info 4 years ago
brcm2708 brcm2708: update to latest patches from RPi foundation 4 years ago
cns3xxx kernel: bump 4.19 to 4.19.86 5 years ago
gemini gemini: dns313_gen_hdd_img.sh: switch to /bin/sh 5 years ago
generic kernel: swconfig: make compatible with kernel 5.2 4 years ago
imx6 kernel: Deactivate CONFIG_SFP in generic config 5 years ago
ipq40xx kernel: bump 4.19 to 4.19.101 4 years ago
ipq806x kernel: bump 4.19 to 4.19.101 4 years ago
kirkwood kirkwood: exploit BOARD_NAME to set DEVICE_DTS and SUPPORTED_DEVICES 4 years ago
lantiq lantiq: tidy up image/Makefile 4 years ago
layerscape kernel: bump 4.14 to 4.14.169 4 years ago
malta malta: enable HighMem on MIPS32 4 years ago
mediatek kernel: bump 4.19 to 4.19.101 4 years ago
mpc85xx treewide: move mktplinkfw to tplink-v1-image in image-commands.mk 4 years ago
mvebu mvebu: image: align subtargets makefile names 4 years ago
mxs mxs: gen_sdcard_ext4_ext4.sh: use /bin/sh 5 years ago
octeon octeon: apply vendor_model scheme to device definition/image name 4 years ago
octeontx kernel: bump 4.14 to 4.14.160 5 years ago
omap omap: gen_omap_sdcard_img.sh: use /bin/sh 5 years ago
oxnas kernel: bump 4.14 to 4.14.158 5 years ago
pistachio kernel: bump 4.14 to 4.14.169 4 years ago
ramips ramips: append tail to WF2881 initramfs image 4 years ago
rb532 rb532: gen_image.sh: use /bin/sh 5 years ago
samsung samsung: add subtarget condition for device 4 years ago
sunxi kernel: bump 4.14 to 4.14.169 4 years ago
tegra x86,tegra,mvebu: image: use common reproducible IMG_PART_SIGNATURE 5 years ago
uml treewide: Remove self from MAINTAINER entries 5 years ago
x86 kernel: bump 4.19 to 4.19.90 5 years ago
zynq zynq: derive DEVICE_DTS from device definition name 4 years ago
Makefile