Updated process event handling

This commit is contained in:
Luca Deri 2018-10-18 09:36:13 +02:00
parent d951a5ad98
commit d3ca52bfc5
2 changed files with 3 additions and 0 deletions

View file

@ -7043,6 +7043,8 @@ bool NetworkInterface::enqueueeBPFEvent(eBPFevent *event) {
if(ebpfEvents[next_insert_idx] != (eBPFevent*)NULL)
return(false);
ebpf_preprocess_event(event);
ebpfEvents[next_insert_idx] = event;
next_insert_idx = (next_insert_idx + 1) % EBPF_QUEUE_LEN;
return(true);