openwrt/target/linux/generic
Christian Lamparter fdd3605398 kernel: 6.1: fix swconfig not working
On 6.1 swconfig is not showing up and there's a splat:

| ------------[ cut here ]------------
| WARNING: CPU: 0 PID: 1 at genl_register_family+0xb4/0x81c
| Modules linked in:
| CPU: 0 PID: 1 Comm: swapper Not tainted 6.1.29 #0
| Hardware name: Netgear WNDR4700/WNDR4720 Series APM821XX [...]
| NIP:  c0599370 LR: c0599344 CTR: c08c9950
| REGS: c0c21cb0 TRAP: 0700   Not tainted  (6.1.29)
| MSR:  00029000 <CE,EE,ME>  CR: 48000888  XER: 00000000
|
| GPR00: c0002678 c0c21da0 c0c2cd80 [...]
| NIP [c0599370] genl_register_family+0xb4/0x81c
| LR [c0599344] genl_register_family+0x88/0x81c
| Call Trace:
| [c0c21d80] [c0c21df4] 0xc0c21df4 (unreliable)
| [c0c21e10] [c08c9988] swconfig_init+0x38/0x64
| [c0c21e30] [c0002678] do_one_initcall+0x50/0x260

This is due to it failing to register the netlink
family since changes to upstream linux in patch.

| commit 9c5d03d362519f36cd551aec596388f895c93d2d
|Author: Jakub Kicinski <kuba@kernel.org>
|Date:   Wed Aug 24 17:18:30 2022 -0700
|
|   genetlink: start to validate reserved header byte

this is fixed by adding the proper value to the introduced
"resv_start_op" parameter.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
2023-05-30 01:58:20 +02:00
..
backport-5.15 kernel: Backport MGLRU patch from 6.4 2023-05-25 23:52:24 +02:00
backport-6.1 generic: add kernel tag to backport patch 2023-05-26 23:04:48 +02:00
files kernel: 6.1: fix swconfig not working 2023-05-30 01:58:20 +02:00
hack-5.15 kernel: bump 5.15 to 5.15.113 2023-05-26 11:50:37 +02:00
hack-6.1 generic: 6.1: refresh hack patches 2023-05-22 22:28:16 +02:00
image target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-5.15 mediatek: sync MT7988 USXGMII with SDK driver 2023-05-27 21:57:01 +01:00
pending-6.1 generic: 6.1: refresh pending patches 2023-05-22 22:28:17 +02:00
config-5.15 kernel: enable (ARM|ARM64)_MODULE_PLTS in generic config 2023-05-23 05:49:46 -07:00
config-6.1 kernel: 6.1: add missing Kconfig symbols 2023-05-29 19:44:26 +02:00
config-filter generic: filter out CONFIG_PAHOLE_HAS_SPLIT_BTF 2023-05-24 21:46:27 +02:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00