Skip to content
Commit 05d0eae7 authored by Zhizhou Tian's avatar Zhizhou Tian Committed by Pablo Neira Ayuso
Browse files

netfilter: xt_hashlimit: alloc hashtable with right size



struct xt_byteslimit_htable used hlist_head, but memory allocation is
done through sizeof(struct list_head).

Signed-off-by: default avatarZhizhou Tian <zhizhou.tian@gmail.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 74585d4f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment