Getting error while add iptables rule with openwrt-22.03

I am trying to add one iptable rule getting the below error.
OWRT Version: 22.03
Iptables Version: v1.8.7 (legacy)

~$ iptables -A FORWARD -i br+ -m mac --mac-source  a0:ce:c8:0a:7b:4c
-j ACCEPT
iptables: Invalid argument. Run `dmesg' for more information.
~$dmesg -c 
[52871.609615] x_tables: ip_tables: mac.0 match: invalid size 32 (kernel) != (user) 16
~$
  • Can you provide details on how you installed iptables?
  • What make/model device is your OpenWrt?

This error is quite odd - it means that you executed a 16 bit program on a 32 bit CPU.

Its a realtek make 64bit platform linux version is 5.10
Toolchain: aarch64-openwrt-linux-gnu

Can you provide the actual model information - so we can cross reference it with supported devices on the Table of Hardware?

Or you could provide the output of:

ubus call system board

iptables version : 1.8.7
Linux Version: 5.10
Openwrt Version: 22.03
nftable version: 1.0.2

$ ubus call system board
{
        "kernel": "5.10.161",
        "hostname": "Test",
        "system": "ARMv8",
        "model": "Realtek Taurus",
        "board_name": "realtek,taurus",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "22.03.3",
                "revision": "r20028-43d71ad93e",
                "target": "rtl9617c",
                "description": "OpenWrt 22.03.3 r20028-43d71ad93e"
        }
}
$