mirror of https://github.com/OISF/suricata
app-layer: optimize pstate check
To assist branch prediction, which showed a 100% miss rate, assume pstate is non-NULL. Code review suggests all paths leading to the function actually check pstate first, or alstate which can only be non-NULL if pstate was first initialized. For now add a debug check.pull/12675/head
parent
99eda1504a
commit
1000b0cf33
Loading…
Reference in New Issue