Merge pull request #3648 from weaveworks/handle-conntrack-error

fix: handle errors reported by the conntrack package
This commit is contained in:
Bryan Boreham
2019-07-04 14:50:15 +01:00
committed by GitHub

View File

@@ -147,6 +147,11 @@ func (c *conntrackWalker) run() {
if !ok {
return
}
if f.Err != nil {
log.Errorf("conntrack event error: %v", f.Err)
stop()
return
}
if c.relevant(f) {
c.handleFlow(f)
}