diff options
author | Taehee Yoo <ap420073@gmail.com> | 2018-11-16 21:32:35 +0900 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-11-17 19:13:58 +0100 |
commit | b4e955e9f372035361fbc6f07b21fe2cc6a5be4a (patch) | |
tree | 35342250225d3fdf09b55a2823046cc79c87cf6e /net/netfilter/ipvs | |
parent | 29e3880109e357fdc607b4393f8308cef6af9413 (diff) | |
download | linux-b4e955e9f372035361fbc6f07b21fe2cc6a5be4a.tar.bz2 |
netfilter: xt_hashlimit: fix a possible memory leak in htable_create()
In the htable_create(), hinfo is allocated by vmalloc()
So that if error occurred, hinfo should be freed.
Fixes: 11d5f15723c9 ("netfilter: xt_hashlimit: Create revision 2 to support higher pps rates")
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/ipvs')
0 files changed, 0 insertions, 0 deletions