openwrt/target/linux/generic
Daniel Golle 83c0942ff7
kernel: fix kernel panic in mtk_ppe
The patch that adds support for hw flow-offloading counters on newer
MediaTek SoCs tries to prints acct->packets and acct->bytes in debugfs,
without checking that acct isn't null. This causes a kernel panic when
trying to read /sys/kernel/debug/ppe0/entries on older MediaTek SoCs.
Fix this by adding a check for acct.

Fixes: openwrt#11756
Fixes: 9721a42a27 ("kernel: support hw flow-offloading counters on newer MediaTek SoCs")
Reported-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-01-16 22:04:35 +00:00
..
backport-5.10 kernel: bump 5.10 to 5.10.163 2023-01-14 22:31:38 +01:00
backport-5.15 kernel: bump 5.15 to 5.15.87 2023-01-13 22:04:22 +01:00
files kernel: move ubnt ledbar driver to a separate package 2022-09-30 11:28:51 +02:00
hack-5.10 kernel: bump 5.10 to 5.10.163 2023-01-14 22:31:38 +01:00
hack-5.15 kernel: bump 5.15 to 5.15.87 2023-01-13 22:04:22 +01: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.10 kernel: bump 5.10 to 5.10.163 2023-01-14 22:31:38 +01:00
pending-5.15 kernel: fix kernel panic in mtk_ppe 2023-01-16 22:04:35 +00:00
config-5.10 kernel: 5.10: update nvmem subsystem to the 5.15 state 2023-01-06 14:34:37 +01:00
config-5.15 kernel: 5.15: add missing kernel configuration options 2023-01-16 12:42:23 +01:00
config-filter kernel: filter out both Clang and LLD versions 2021-12-17 16:16:34 +01:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00