From b80a51bc39a08623b5414c0ee8336452e6893450 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Thu, 25 May 2017 22:22:44 +0100 Subject: [PATCH] cosmetic: remove outdated comment we now do correctly fall back to proc scanning when eBPF fails --- probe/endpoint/connection_tracker.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/probe/endpoint/connection_tracker.go b/probe/endpoint/connection_tracker.go index 2243990dc..6b66e7780 100644 --- a/probe/endpoint/connection_tracker.go +++ b/probe/endpoint/connection_tracker.go @@ -96,9 +96,6 @@ func (t *connectionTracker) ReportConnections(rpt *report.Report) { if t.flowWalker != nil { t.performFlowWalk(rpt, &seenTuples) } - // if eBPF was enabled but failed to initialize, Scanner will be nil. - // We can't recover from this, so don't walk proc in that case. - // TODO: implement fallback if t.conf.WalkProc && t.conf.Scanner != nil { t.performWalkProc(rpt, hostNodeID, &seenTuples) }