flowtop: Use RCU flow deletion from process entry
commit85f3536846adb8da882227b40ddbe0bc91f3ce71
authorVadim Kochan <vadim4j@gmail.com>
Sun, 17 Dec 2017 21:25:40 +0000 (17 23:25 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 18 Dec 2017 13:48:52 +0000 (18 14:48 +0100)
treef26d7d4aa5e881759f58b989f4c5dc4bfdc1aea2
parente207624c6d92e9c2979e1e310cab660f0320ca48
flowtop: Use RCU flow deletion from process entry

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 <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
flowtop.c