Re: [RELEASE] ebtables version 2.0.8-rc3
Carl-Daniel Hailfinger <[email protected]> Mon, 28 Jan 2008 18:13:08 +0100
| Newsgroups | gmane.linux.network.bridge.ebtables.user |
|---|---|
| Message-ID | <[email protected]> |
On 10.01.2007 20:08, Bart De Schuymer wrote: > Op za, 23-12-2006 te 20:37 +0100, schreef Carl-Daniel Hailfinger: > > >> Userspace sets wh_dst_ofs=EBT_ALIGN(sizeof(struct ebt_among_info)), but the >> kernel expects wh_dst_ofs=sizeof(struct ebt_among_info). On i386, the EBT_ALIGN >> macro has no effect for the among match, but on x86_64 it does. That explains >> why the bug was never noticed on i386. >> >> So we either change the kernel or userspace. Changing the kernel would mean >> that suddenly all existing userspace works. >> > > It's best not to force people into using a specific kernel, so adjusting > userspace is the thing to do. > > Please test the attached userspace patch. > I'm very sorry, but I have been unable to take the machine in question out of production to test the patch. I found a commit in OpenVZ which touches the code in question and will probably be upstreamed sometime. http://git.openvz.org/?p=linux-2.6.24-openvz;a=commit;h=a3d28217a51b57b2980f5fc1203cf7b402ca9bb7 Regards, Carl-Daniel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/