]> 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:33:38 +0000 (11:33 +0100)
commitefc74ff9ed83840d90d2e839c36dc815525fc0c2
treeb1d1082753ad93168f5eb05cb071cd5633f875fd
parentf3d52ef8cfafd22519bcbbb34da76a610680ab29
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
(cherry picked from commit 320ef7b61721a8d32d52c40fcc09592f0907bde6)
src/runmode-af-packet.c
src/source-af-packet.h