netfilter: x_tables: added hook number into match extension parameter structure.

Signed-off-by: Evgeniy Polyakov <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
This commit is contained in:
Evgeniy Polyakov 2009-06-04 16:54:42 +02:00 • committed by Patrick McHardy
commit a5e7882096
4 changed files with 7 additions and 5 deletions

View file

@ -170,7 +170,7 @@ unsigned int ebt_do_table (unsigned int hook, struct sk_buff *skb,
mtpar.in = tgpar.in = in;
mtpar.out = tgpar.out = out;
mtpar.hotdrop = &hotdrop;
tgpar.hooknum = hook;
mtpar.hooknum = tgpar.hooknum = hook;
read_lock_bh(&table->lock);
private = table->private;