[Oisf-devel] AppLayerMatch: change in locking logic

Victor Julien victor at inliniac.net
Tue Apr 22 12:00:03 UTC 2014


Hi all,

I wanted to give you all a heads up on a change in locking logic I had
to make to deal with a crash case.

Detection keywords using the AppLayerMatch API call until now had to
take care of flow locking themselves. This has changed. The call is now
made with an already locked flow and the alstate pointer is not being
passed around anymore.

Out of tree keywords will have to be updated to prevent double locking
issues.

More details in https://github.com/inliniac/suricata/pull/940

-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------



More information about the Oisf-devel mailing list