Skip to content
Commit d8088058 authored by Florian Westphal's avatar Florian Westphal Committed by Greg Kroah-Hartman
Browse files

netfilter: nft_limit: fix stateful object memory leak

commit 1a58f84e upstream.

We need to provide a destroy callback to release the extra fields.

Fixes: 3b9e2ea6

 ("netfilter: nft_limit: move stateful fields out of expression data")
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e562d842
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