mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
83c0942ff7
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:
|
||
---|---|---|
.. | ||
backport-5.10 | ||
backport-5.15 | ||
files | ||
hack-5.10 | ||
hack-5.15 | ||
image | ||
other-files | ||
pending-5.10 | ||
pending-5.15 | ||
config-5.10 | ||
config-5.15 | ||
config-filter | ||
PATCHES |