]> git.ipfire.org Git - thirdparty/suricata.git/commit
af-packet: warn if v2 block size not large enough for defrag
authorJason Ish <jason.ish@oisf.net>
Wed, 12 Mar 2025 22:13:40 +0000 (16:13 -0600)
committerVictor Julien <vjulien@oisf.net>
Tue, 18 Mar 2025 10:02:32 +0000 (11:02 +0100)
commit320ef7b61721a8d32d52c40fcc09592f0907bde6
tree56618c57a36dca4c6c27574d4abb94360ec44272
parent5871c6458c6696516425f19e8c840663767bf917
af-packet: warn if v2 block size not large enough for defrag

If using tpacket-v2, defrag and a user provided v2-block-size, warn if
the block size is not large enough to hold one fully defragmented
packet.

Ticket: #7458
src/runmode-af-packet.c
src/source-af-packet.h