Skip to content
Snippets Groups Projects
Commit afa90619 authored by Martin Teichmann's avatar Martin Teichmann Committed by Martin Teichmann
Browse files

use only active packages to give user data

this means we know what values were set in ebpf. It is a bit
magic how often this will get called.
parent dfe0521f
No related branches found
No related tags found
Loading
...@@ -432,7 +432,8 @@ class FastSyncGroup(SyncGroupBase, XDP): ...@@ -432,7 +432,8 @@ class FastSyncGroup(SyncGroupBase, XDP):
await super().run() await super().run()
def update_devices(self, data): def update_devices(self, data):
self.current_data = data if data[3] & 1:
self.current_data = data
for dev in self.devices: for dev in self.devices:
dev.fast_update() dev.fast_update()
return self.asm_packet return self.asm_packet
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment