I'm not sure if this should be "inlined" (with all consequences like making net_activity_detected non static probably).
At the moment if the the compiler does not optimize, on every received packet we have to jump to this method and return
instead of just changing a variable