diff options
| author | Liping Zhang <zlpnobody@gmail.com> | 2016-10-29 22:03:05 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:17 +0200 |
| commit | 466a011343902816a851d5c4d8da34ddd690c6e5 (patch) | |
| tree | 170ab687d75468a5a90b31d86b18849a9a816751 /include/linux/timerqueue.h | |
| parent | 85042aa0f398b0a465f847a62ebe412dbccb8524 (diff) | |
netfilter: nf_tables: destroy the set if fail to add transaction
commit c17c3cdff10b9f59ef1244a14604f10949f17117 upstream.
When the memory is exhausted, then we will fail to add the NFT_MSG_NEWSET
transaction. In such case, we should destroy the set before we free it.
Fixes: 958bee14d071 ("netfilter: nf_tables: use new transaction infrastructure to handle sets")
Signed-off-by: Liping Zhang <zlpnobody@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
