mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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:
parent
e34d5c1a4f
commit
a5e7882096
4 changed files with 7 additions and 5 deletions
|
|
@ -343,7 +343,7 @@ ipt_do_table(struct sk_buff *skb,
|
|||
mtpar.in = tgpar.in = in;
|
||||
mtpar.out = tgpar.out = out;
|
||||
mtpar.family = tgpar.family = NFPROTO_IPV4;
|
||||
tgpar.hooknum = hook;
|
||||
mtpar.hooknum = tgpar.hooknum = hook;
|
||||
|
||||
IP_NF_ASSERT(table->valid_hooks & (1 << hook));
|
||||
xt_info_rdlock_bh();
|
||||
|
|
|
|||
Loading…
Reference in a new issue