From 60752d231c3d2faaecacd44c62754d3facc59850 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Sun, 17 Dec 2017 11:47:11 +0100 Subject: [PATCH] util-ebpf: fix XDP delete key The key was deleted twice so let's remove the local deletion. --- src/util-ebpf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util-ebpf.c b/src/util-ebpf.c index 9e2a14add8..48c9e6c349 100644 --- a/src/util-ebpf.c +++ b/src/util-ebpf.c @@ -338,7 +338,6 @@ static int EBPFBypassedFlowV6Timeout(int fd, struct flowv6_keys *key, struct pai if (curtime->tv_sec - value->time / 1000000000 > BYPASSED_FLOW_TIMEOUT) { SCLogDebug("Got no packet for %d -> %d at %" PRIu64, key->port16[0], key->port16[1], value->time); - EBPFDeleteKey(fd, key); return 1; } return 0;