Skip to content

Commit b6c5a7a

Browse files
LorenzoTettamantisiddh34
authored andcommitted
[#107]: Updated comments (TODO/FIXME)
1 parent d7dc4fe commit b6c5a7a

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

core/src/components/conntracker/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/* TODO: this part needs an update
22
*
33
* This file contains the code for the identity service
44
*
@@ -112,6 +112,7 @@ pub struct ConnArray {
112112

113113
#[map(name = "EventsMap")]
114114
static mut EVENTS: PerfEventArray<PacketLog> = PerfEventArray::new(0);
115+
//TODO: ConnectionMap needs a rework after implementing issue #105
115116
#[map(name = "ConnectionMap")]
116117
pub static mut ACTIVE_CONNECTIONS: LruPerCpuHashMap<
117118
u16,

core/src/components/identity/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/* EDIT: TODO: this part needs an update
1+
/*
22
* CortexBrain Identity Service
3+
* Open Issues: #105 #107
34
* Features:
45
* 1. TCP, UDP , ICMP events tracker
56
* 2. Track Connections using a PerfEventArray named ConnArray
@@ -204,7 +205,6 @@ async fn event_listener(bpf_maps: (Map, Map)) -> Result<(), anyhow::Error> {
204205
}
205206
info!("Listening for events...");
206207

207-
// FIXME: There seem to be a concurrency error that is causing the pod to pod logs to not work at all
208208
let veth_running = Arc::new(AtomicBool::new(true));
209209
let net_events_running = Arc::new(AtomicBool::new(true));
210210

0 commit comments

Comments
 (0)