[BUG] ebt_accept is not 64-bit clean

Peter Nelson <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
I was testing ebtables on my AMD64 and the among extension refused to 
work stating:

$ ebtables -A FORWARD --among-src 00:11:22:33:44:55 -j DROP
The kernel doesn't support a certain ebtables extension, consider recompiling your kernel or insmod the extension.

Even though I had ebt_among probed.  Looking at dmesg I get this:

Ebtables v2.0 registered
ebtables: among: wrong size: 1060against expected 1056, rounded to 1056
kernel msg: ebtables bug: please report to author: match->check failed

It seems likely there is a pointer in there that is assumed to be 4 
bytes instead of 8 bytes, but I don't see anything obvious from the 
source.  I'm using Debian 2.6.8-9-amd64-k8

Please CC me in response,
-Peter


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.