Can't Delete A user Chain

"Yee Keat Phuah" <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <00f401c2b7b4$1ba0bb30$5bfaa8c0@gpphuah>
Hi,

Seemed that I have came across a bug for ebtables, below is the script that I have writen to reproduce the error

### Start Script ###
#!/bin/sh

/sbin/ebtables --init-table
/sbin/ebtables -N 1
/sbin/ebtables -N 2

/sbin/ebtables -A INPUT -s 00:00:00:00:00:02 -j 2
/sbin/ebtables -X 1
### End Script ###

If the "-A INPUT" line is commented, it worked fine. Saw the following in syslog:

#### Start Syslog ####
kernel: kernel msg: ebtables bug: please report to author: bad destination
#### End Syslog ####

Seemed to me that I can't delete chain if there is a reference to a chain defined after the chain. ( confusing, I know, I think the example above is easier to understand! ).

Any clues? Is this a bug or did I missed something?

Some Info on my machine: 
KERNEL = 2.4.20 (clean from ftp.kernel.org)
KERNEL PATCH = ebtables-v2.0.003_vs_2.4.20.diff
EBTABLES = ebtables-v2.0.2.tar.gz

Cheers, 
Yee Keat
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.