diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-02-20 01:19:44 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-20 01:19:44 (GMT) |
commit | 7d9904c2604ce091c97c225b5e2f92f3e7cc2e3a (patch) | |
tree | b14eb64e39855157975b0b2169861fd42fba4b40 /net/netfilter | |
parent | 651acc9893f2cd036e9485ce782d0c4cffbc27f5 (diff) | |
download | linux-fsl-qoriq-7d9904c2604ce091c97c225b5e2f92f3e7cc2e3a.tar.xz |
[NETFILTER]: xt_hashlimit: remove unneeded struct member
By allocating ->hinfo, we already have the needed indirection to cope
with the per-cpu xtables struct match_entry.
[Patrick: do this now before the revision 1 struct is used by userspace]
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/xt_hashlimit.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/netfilter/xt_hashlimit.c b/net/netfilter/xt_hashlimit.c index 744c7f2..5418ce5 100644 --- a/net/netfilter/xt_hashlimit.c +++ b/net/netfilter/xt_hashlimit.c @@ -774,9 +774,6 @@ hashlimit_mt_check(const char *tablename, const void *inf, return false; } mutex_unlock(&hlimit_mutex); - - /* Ugly hack: For SMP, we only want to use one set */ - info->master = info; return true; } |