]> git.ipfire.org Git - thirdparty/suricata.git/commit
Bug #2201: af_packet - treat BPF filter error as fatal 2880/head
authorAlexander Gozman <goal81@gmail.com>
Sun, 20 Aug 2017 12:22:34 +0000 (15:22 +0300)
committeralg <goal81@gmail.com>
Sun, 20 Aug 2017 12:32:02 +0000 (15:32 +0300)
commit39807b47cb2d3b355857e3e3ffa63fbb42e348d1
tree569376861039d9643ca9693d4c725597b1bae3bc
parentf27b4fc8fe64f524d3ca7c35214c40ee0d3bfe2f
Bug #2201: af_packet - treat BPF filter error as fatal

There is no need to try to set erroneous BPF filter again and again. Such attempts
lead to constant mmap() calls without corresponding munmap() when 'use-mmap' is enabled.
src/source-af-packet.c