lede/target
Daniel Golle ec753a97ff 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: 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-17 21:22:37 +08:00
..
imagebuilder sync with upstream (#10562) 2022-12-08 14:20:57 +08:00
linux kernel: fix kernel panic in mtk_ppe 2023-01-17 21:22:37 +08:00
llvm-bpf toolchain: add llvm-bpf 2022-04-07 01:01:05 +08:00
sdk sync with upstream (#10562) 2022-12-08 14:20:57 +08:00
toolchain sync with upstream (#10562) 2022-12-08 14:20:57 +08:00
Config.in sync with upstream (#10562) 2022-12-08 14:20:57 +08:00
Makefile ipq60xx: add dma arm64 api patch 2022-09-13 15:19:06 +08:00