Segfaulting when -j to a user defined chain

"zze-homelan Yann E. MORIN ext RD-RESA-REN" <ymorin.ext-Y0cpdkdd+tOdJzetXUiyRlaTQe2KTcn/@public.gmane.org>
Newsgroups gmane.linux.network.bridge.ebtables.user
Organization France Telecom - R&D
Message-ID <1141840424.3780.13.camel@lemminkainnen>
Hello all!

I'm using dnat to rewrite the destination MAC address of
incomming packets. I've put the rewrite rule in a user
defined chain, and then jumping to that chain in the nat
table (from an empty set of rules):

=============
[me@there] ebtables -t nat -N my_chain
[me@there] ebtables -t nat -A my_chain -i eth0 -j dnat \
>                   --to-destination xx:xx:xx:xx:xx:xx
[me@there] ebtables -t nat -A PREROUTING -j my_chain
Segmentation fault (core dumped)
[me@there] ebtables -t nat -L
Bridge table: nat

Bridge chain: PREROUTING, entries: 0, policy: ACCEPT

Bridge chain: OUTPUT, entries: 0, policy: ACCEPT

Bridge chain: POSTROUTING, entries: 0, policy: ACCEPT

Bridge chain: my_chain, entries: 1, policy: ACCEPT
-i eth0 -j dnat --to-dst 0:1:2:3:4:5 --dnat-target ACCEPT
=============

If I do not use a user chain, ebtables is happy (again,
from an empty set of rules):

=============
[me@there] ebtables -t nat -A PREROUTING -i eth0 -j dnat \
>                   --to-destination xx:xx:xx:xx:xx:xx
[me@there] ebtables -t nat -L
Bridge table: nat

Bridge chain: PREROUTING, entries: 0, policy: ACCEPT

Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
-i eth0 -j dnat --to-dst 0:1:2:3:4:5 --dnat-target ACCEPT

Bridge chain: POSTROUTING, entries: 0, policy: ACCEPT
=============

=============
[me@there] ebtables --version
ebtables v2.0.8-rc1 (November 2005)
=============

>From linux-2.4.29/net/bridge/netfilter/ebtables.c:
ebtables.c,v 2.0, July, 2002

Thanks for your attention,
Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON |
| +0/33 299123676 | Software  Designer | \ / CAMPAIGN     |
| --==< °_° >==-- °---.----------------:  X  AGAINST      |
|   ymorin.ext-Y0cpdkdd+tOdJzetXUiyRlaTQe2KTcn/@public.gmane.org    | / \ HTML MAIL    |
°--------------------------------------°------------------°



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
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.