aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorLouis Peens <[email protected]>2021-07-02 11:21:38 +0200
committerDavid S. Miller <[email protected]>2021-07-02 13:36:35 -0700
commit77ac5e40c44eb78333fbc38482d61fc2af7dda0a (patch)
treea745b9fb6bc988d98bb0890a6c0754a2a68b4590 /scripts/gcc-plugins/cyc_complexity_plugin.c
parenta019abd8022061b917da767cd1a66ed823724eab (diff)
net/sched: act_ct: remove and free nf_table callbacks
When cleaning up the nf_table in tcf_ct_flow_table_cleanup_work there is no guarantee that the callback list, added to by nf_flow_table_offload_add_cb, is empty. This means that it is possible that the flow_block_cb memory allocated will be lost. Fix this by iterating the list and freeing the flow_block_cb entries before freeing the nf_table entry (via freeing ct_ft). Fixes: 978703f42549 ("netfilter: flowtable: Add API for registering to flow table events") Signed-off-by: Louis Peens <[email protected]> Signed-off-by: Yinjun Zhang <[email protected]> Signed-off-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions