Skip to content

Commit

Permalink
mpm: remove ac-bs implementation
Browse files Browse the repository at this point in the history
Ticket: OISF#6586.
  • Loading branch information
victorjulien committed Nov 28, 2023
1 parent 574c8b5 commit d6f5a5a
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 2,453 deletions.
2 changes: 0 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,6 @@ noinst_HEADERS = \
util-mem.h \
util-memrchr.h \
util-misc.h \
util-mpm-ac-bs.h \
util-mpm-ac.h \
util-mpm-ac-ks.h \
util-mpm.h \
Expand Down Expand Up @@ -1177,7 +1176,6 @@ libsuricata_c_a_SOURCES = \
util-memcmp.c \
util-memrchr.c \
util-misc.c \
util-mpm-ac-bs.c \
util-mpm-ac.c \
util-mpm-ac-ks.c \
util-mpm-ac-ks-small.c \
Expand Down
2 changes: 1 addition & 1 deletion src/detect-engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -2744,7 +2744,7 @@ static int DetectEngineCtxLoadConf(DetectEngineCtx *de_ctx)
/* for now, since we still haven't implemented any intelligence into
* understanding the patterns and distributing mpm_ctx across sgh */
if (de_ctx->mpm_matcher == MPM_AC || de_ctx->mpm_matcher == MPM_AC_KS ||
de_ctx->mpm_matcher == MPM_HS || de_ctx->mpm_matcher == MPM_AC_BS) {
de_ctx->mpm_matcher == MPM_HS) {
de_ctx->sgh_mpm_ctx_cnf = ENGINE_SGH_MPM_FACTORY_CONTEXT_SINGLE;
} else {
de_ctx->sgh_mpm_ctx_cnf = ENGINE_SGH_MPM_FACTORY_CONTEXT_FULL;
Expand Down
Loading

0 comments on commit d6f5a5a

Please sign in to comment.