From 63d26c48e9c1d486efd24eda4b3a65066f315234 Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Mon, 27 Jul 2015 01:24:51 +0300 Subject: flowtop: Fix missing new connections after flush There might be new fast connection between flush & handling new events which can be not handled, so put flushing connections before loop. Signed-off-by: Vadim Kochan Signed-off-by: Tobias Klauser --- flowtop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flowtop.c b/flowtop.c index 6844402..6466b47 100644 --- a/flowtop.c +++ b/flowtop.c @@ -1134,8 +1134,6 @@ static void *collector(void *null __maybe_unused) struct pollfd poll_fd[1]; int ret; - collector_flush(); - ct_event = nfct_open(CONNTRACK, NF_NETLINK_CONNTRACK_NEW | NF_NETLINK_CONNTRACK_UPDATE | NF_NETLINK_CONNTRACK_DESTROY); @@ -1199,6 +1197,8 @@ static void *collector(void *null __maybe_unused) panic("Cannot set non-blocking socket: fcntl(): %s\n", strerror(errno)); + collector_flush(); + rcu_register_thread(); while (!sigint && ret >= 0) { -- cgit v1.2.3-54-g00ecf ='nds-private-remove' selected='selected'>nds-private-remove net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/mtd/diskonchip.txt')