Skip to content

Fix kernel BUG on early access to /proc/tempesta/perfstat before APM is initialized (#2424) #813

@WitalyAnisimov

Description

@WitalyAnisimov

Tempesta crashes with a kernel BUG when /proc/tempesta/perfstat is accessed early, before the cfgend() stage completes. This happens because tfw_apm_global_data is initialized too late — only in tfw_apm_cfgend().

issue#2424

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions