Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

next/599/20241012/v1 #11948

Merged
merged 13 commits into from
Oct 12, 2024
Merged

Conversation

jlucovsky and others added 13 commits October 12, 2024 11:03
Re-introduce support for command line argument "--napatech"

Issue: 7165
Issue: 7165

Plugins can't be build using the standard autoconf/automake
methods. We can get around this by creating our own Makefiles, but
they're often less portable.

For now, fail during ./configure instead of during compile.
Original limit was due to a specific data structure.

(lifted from 96a0ffa)
Commit changes are made to avoid possible memory leaks. If the parser
is initialized before configuration file checking, there was no deinit
call before function return. Do check config file existance and type
before YAML parser initialization, so we don't need to deinit parser
before exiting the function.

Bug: OISF#7302
Ticket: 3195

Also remove unused src/tests/detect-template-buffer.c

Completes commit 4a7567b
to remove references to template-rust
The pattern of checking the pause flag, setting to paused then
waiting to unpause was done enough times to factor out into its own
function. This is also needed by library users who bring their own
packet acquisition threads.
TmThreadTestThreadUnPaused was only being used by
TmThreadsWaitForUnpause and is still enough to just become one
function.
Threads are only set to paused upon initialization and never again, we
should only have to wait once, so move the wait before any loop that
was waiting before.

Additionally, if the thread was killed while waiting to be unpaused,
don't enter the loop.
@victorjulien victorjulien requested review from jasonish, jufajardini and a team as code owners October 12, 2024 11:12
Copy link

codecov bot commented Oct 12, 2024

Codecov Report

Attention: Patch coverage is 91.39785% with 8 lines in your changes missing coverage. Please review.

Project coverage is 82.74%. Comparing base (58556b7) to head (15c4eb3).
Report is 13 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11948   +/-   ##
=======================================
  Coverage   82.74%   82.74%           
=======================================
  Files         912      910    -2     
  Lines      249102   249008   -94     
=======================================
- Hits       206117   206043   -74     
+ Misses      42985    42965   -20     
Flag Coverage Δ
fuzzcorpus 60.76% <30.76%> (+0.04%) ⬆️
livemode 18.70% <28.57%> (-0.15%) ⬇️
pcap 44.09% <27.47%> (-0.03%) ⬇️
suricata-verify 62.19% <93.40%> (+0.01%) ⬆️
unittests 59.01% <5.37%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 23095

@victorjulien victorjulien merged commit 15c4eb3 into OISF:master Oct 12, 2024
61 checks passed
@victorjulien victorjulien deleted the next/599/20241012/v1 branch October 12, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

6 participants