mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-31 00:42:10 -05:00
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 | ||