aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-debug.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <[email protected]>2020-03-18 14:29:45 +0100
committerPablo Neira Ayuso <[email protected]>2020-03-19 11:37:32 +0100
commit475beb9c8de1227ff6ec572f37a05c5c612d94a7 (patch)
tree0f9045ad1d21208b0c1915d5bd88828fe3e2be3a /drivers/usb/cdns3/cdns3-debug.h
parent772f4e82b3ffa1eb7412cd531f718a96a0e5474b (diff)
netfilter: nf_tables: add nft_set_elem_expr_destroy() and use it
This patch adds nft_set_elem_expr_destroy() to destroy stateful expressions in set elements. This patch also updates the commit path to call this function to invoke expr->ops->destroy_clone when required. This is implicitly fixing up a module reference counter leak and a memory leak in expressions that allocated internal state, e.g. nft_counter. Fixes: 409444522976 ("netfilter: nf_tables: add elements with stateful expressions") Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions