When 32-bit ebtables is ran on 64-bit kernel, observing following error messages in dmesg and command is failing.
kernel msg: ebtables bug: please report to author: Standard target size too big
Created attachment 584258 [details, diff]
Please find attached patch for net-firewall/ebtables/ebtables-22.214.171.124-r2.ebuild
to support running 32-bit ebtables on 64-bit kernel.
When net-firewall/ebtables is built with 32-bit toolchain and deployed onto
64-bit kernel, ebtables command is failing with following reason. Adding
'-DKERNEL_64_USERSPACE_32' option to CFLAGS allows it to run on 64-bit kernel.
Attached patch to enable this when 'kernel64_userspace32' USE flag is set.