[netsniff-ng] [PATCH] flowtop: Fix use-after-free on filter reload

2017-12-18 Thread Vadim Kochan
There is missing logic which removes flown entry from related proc's entry while destroying global flows list on filter reloading, hence add common __flow_list_del_entry which handles this logic for both cases - when ct destroyed or filter changed. This is a 2nd fix for issue #183. Signed-off-by:

Re: [netsniff-ng] Re: Trafgen: Warning: Out of Memory

2017-12-18 Thread Vadim Kochan
Hi Chandra, Sorry for the late response ! Would you please provide commands which did you use ? Thanks! On Tue, Dec 5, 2017 at 1:26 PM, wrote: > while running trafgen commands , i am getting segmentation fault (cpre > dump). > > can someone please guide me to move further ? > > Thanks, > Chan

[netsniff-ng] Re: [PATCH] flowtop: Use RCU flow deletion from process entry

2017-12-18 Thread Tobias Klauser
On 2017-12-17 at 22:25:40 +0100, Vadim Kochan wrote: > Use cds_list_del_rcu for safer deletion flow from the process flow > list to prevent possible use-after-free by UI thread when it is > refreshing the processes. > > It may fix the #183 issue. > > Signed-off-by: Vadim Kochan Applied, thank