]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: fix ebtables compat support
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 21 Apr 2011 08:57:21 +0000 (10:57 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 10 May 2011 07:48:59 +0000 (09:48 +0200)
commit01d618b40c8362cb2aa971ba7480aaffcc12b72c
tree2e7262b7002c8f09abaedb9e4e91ec51fdb01299
parent4ef14c7075c412260a95c60f6b388e8a24597050
netfilter: fix ebtables compat support

commit bec25b1d3be43334 (netfilter: x_table: speedup compat operations)
made ebtables not working anymore.

1) xt_compat_calc_jump() is not an exact match lookup
2) compat_table_info() has a typo in xt_compat_init_offsets() call
3) compat_do_replace() misses a xt_compat_init_offsets() call

Reported-by: dann frazier <dannf@dannf.org>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/bridge/netfilter/ebtables.c
net/netfilter/x_tables.c