diff options
author | Patrick McHardy <kaber@trash.net> | 2011-01-14 14:45:56 (GMT) |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2011-01-14 14:45:56 (GMT) |
commit | d862a6622e9db508d4b28cc7c5bc28bd548cc24e (patch) | |
tree | d0d65ef88e8f158a33c370a0f1a6f98b41191d6c /include/net/netfilter/nf_conntrack.h | |
parent | 0134e89c7bcc9fde1da962c82a120691e185619f (diff) | |
download | linux-fsl-qoriq-d862a6622e9db508d4b28cc7c5bc28bd548cc24e.tar.xz |
netfilter: nf_conntrack: use is_vmalloc_addr()
Use is_vmalloc_addr() in nf_ct_free_hashtable() and get rid of
the vmalloc flags to indicate that a hash table has been allocated
using vmalloc().
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net/netfilter/nf_conntrack.h')
-rw-r--r-- | include/net/netfilter/nf_conntrack.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h index 2bc344c..d0d1337 100644 --- a/include/net/netfilter/nf_conntrack.h +++ b/include/net/netfilter/nf_conntrack.h @@ -202,9 +202,9 @@ extern void nf_ct_l3proto_module_put(unsigned short l3proto); * Allocate a hashtable of hlist_head (if nulls == 0), * or hlist_nulls_head (if nulls == 1) */ -extern void *nf_ct_alloc_hashtable(unsigned int *sizep, int *vmalloced, int nulls); +extern void *nf_ct_alloc_hashtable(unsigned int *sizep, int nulls); -extern void nf_ct_free_hashtable(void *hash, int vmalloced, unsigned int size); +extern void nf_ct_free_hashtable(void *hash, unsigned int size); extern struct nf_conntrack_tuple_hash * __nf_conntrack_find(struct net *net, u16 zone, |