mirror of https://github.com/OISF/suricata
packet pool: fix ext_pkt cleaning
The field ext_pkt was cleaned before calling the release function. The result was that IPS mode such as the one of AF_PACKET were not working anymore because they were not able to send the data which were initially pointed by ext_pkt. This patch moves the ext_pkt cleaning to the cleaning macro. This ensures that the cleaning is done for allocated and pool packets.pull/1105/merge
parent
3ee504a3dc
commit
80adc40f68
Loading…
Reference in New Issue