The direction needs to be included in the IOCTL call. Fixes:b91d7d9d78("ltq-*-app: extend ubus metrics/statistics") Signed-off-by: Jan Hoffmann <jan@3e8.eu> Link: https://github.com/openwrt/openwrt/pull/19363 (cherry picked from commitb002cdd6a3) Link: https://github.com/openwrt/openwrt/pull/19556 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>