]> git.ipfire.org Git - thirdparty/suricata.git/commit
napatech: Fix potential double release of packet
authorPhil Young <py@napatech.com>
Wed, 11 Nov 2020 19:21:39 +0000 (14:21 -0500)
committerVictor Julien <victor@inliniac.net>
Fri, 13 Nov 2020 05:41:59 +0000 (06:41 +0100)
commit789dcbd49d077b54726fb09738fb0f42112d00d0
treea01145d4a603f2165ba2f371beda17ebed5c8c21
parent7d594d8710b68f692f730c324e8bf6b6d9312f09
napatech: Fix potential double release of packet

This addresses readmine issue #4018.  There was the potential for a packet
buffer to be released twice in response to an error condition.  This
addresses this by only calling NT_NetRxRelease() when the p->ReleasePacket
is called.
src/source-napatech.c