diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2013-04-27 08:28:55 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-04-29 14:08:54 -0400 |
commit | 075e64c041b5d3c29651965608e1e76505e01d54 (patch) | |
tree | 471cbca37506311f347a673335aba37040591d88 /net/sched | |
parent | 8672d4d1a00b59057bb1f9659259967d2a19e086 (diff) |
netfilter: ipset: Introduce extensions to elements in the core
Introduce extensions to elements in the core and prepare timeout as
the first one.
This patch also modifies the em_ipset classifier to use the new
extension struct layout.
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/em_ipset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/em_ipset.c b/net/sched/em_ipset.c index 3130320997e2..938b7cbf5627 100644 --- a/net/sched/em_ipset.c +++ b/net/sched/em_ipset.c | |||
@@ -83,7 +83,7 @@ static int em_ipset_match(struct sk_buff *skb, struct tcf_ematch *em, | |||
83 | opt.dim = set->dim; | 83 | opt.dim = set->dim; |
84 | opt.flags = set->flags; | 84 | opt.flags = set->flags; |
85 | opt.cmdflags = 0; | 85 | opt.cmdflags = 0; |
86 | opt.timeout = ~0u; | 86 | opt.ext.timeout = ~0u; |
87 | 87 | ||
88 | network_offset = skb_network_offset(skb); | 88 | network_offset = skb_network_offset(skb); |
89 | skb_pull(skb, network_offset); | 89 | skb_pull(skb, network_offset); |