]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: flowtable: Free block_cb when being deleted
authorRoi Dayan <roid@mellanox.com>
Sun, 12 Apr 2020 08:45:47 +0000 (11:45 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 14 Apr 2020 22:55:33 +0000 (00:55 +0200)
commit4b75e56e6967b8a6200729d84d7ad274ddc97584
tree177007db05c28b14e5d43de2c80466c73c47e26c
parentfa7ae7b5d50aa5a19a5a56339cba117f4db7c17d
netfilter: flowtable: Free block_cb when being deleted

Free block_cb memory when asked to be deleted.

Fixes: 045d6a6dc4ff ("netfilter: flowtable: Add API for registering to flow table events")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_core.c