]> git.ipfire.org Git - thirdparty/suricata.git/commit
CUDA: Update the inspection engine to inform the cuda module that it 1171/head
authorAnoop Saldanha <anoopsaldanha@gmail.com>
Fri, 25 Jul 2014 07:50:28 +0000 (13:20 +0530)
committerVictor Julien <victor@inliniac.net>
Mon, 20 Oct 2014 06:25:15 +0000 (08:25 +0200)
commitb334b8a6e9bebe3286c0dbc8c8aa20e62ba90868
treebdcb8e850fe16f2f35868204c3a305e7be2688d8
parent60c46170b047880ace06d2e57eac2f9cc4cbb624
CUDA: Update the inspection engine to inform the cuda module that it
doesn't need the gpu results and to release the packet for the next run.

Previously the inspection engine wouldn't inform the cuda module, if it
didn't need the results.  As a consequence, when the packet is next taken
for re-use, and if the packet is still being processed by the cuda module,
the engine would wait till the cuda module frees the packet.

This commits updates this functionality to inform the cuda module to
release the packet for the afore-mentioned case.
src/detect.c
src/util-mpm-ac.c
src/util-mpm-ac.h