diff options
author | Florian Westphal <fwestphal@astaro.com> | 2010-01-05 16:09:46 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2010-02-16 17:27:19 +0100 |
commit | 81e675c227ec60a0bdcbb547dc530ebee23ff931 (patch) | |
tree | 9fa0dc7b261ed3de8a87dfc0e9d4794c70e2b379 /net/ipx | |
parent | 49facff9f92508413f3da598f86aaf6c1121ff27 (diff) |
netfilter: ebtables: add CONFIG_COMPAT support
Main code for 32 bit userland ebtables binary with 64 bit kernels
support.
Tested on x86_64 kernel only, using 64bit ebtables binary
for output comparision.
At least ebt_mark, m_mark and ebt_limit need CONFIG_COMPAT hooks, too.
remaining problem:
The ebtables userland makefile has:
ifeq ($(shell uname -m),sparc64)
CFLAGS+=-DEBT_MIN_ALIGN=8 -DKERNEL_64_USERSPACE_32
endif
struct ebt_replace, ebt_entry_match etc. then contain userland-side
padding, i.e. even if we are called from a 32 bit userland, the
structures may already be in the right format.
This problem is addressed in a follow-up patch.
Signed-off-by: Florian Westphal <fwestphal@astaro.com>
Diffstat (limited to 'net/ipx')
0 files changed, 0 insertions, 0 deletions