]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
pfring pkt acq: removed reentrant flag
authorcardigliano <cardigliano@ntop.org>
Wed, 21 Oct 2015 23:35:04 +0000 (01:35 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 22 Oct 2015 08:14:35 +0000 (10:14 +0200)
PF_RING_REENTRANT is not needed as each pfring socket is used by a single thread.

src/source-pfring.c

index bac91939abcb5e8b2b4444bdb138c1c9124a3e1c..3e9db24b1104ca7e3404bf8b0a7479c1123fac66 100644 (file)
@@ -438,7 +438,7 @@ TmEcode ReceivePfringThreadInit(ThreadVars *tv, void *initdata, void **data)
 
     ptv->checksum_mode = pfconf->checksum_mode;
 
-    opflag = PF_RING_REENTRANT | PF_RING_PROMISC;
+    opflag = PF_RING_PROMISC;
 
     /* if suri uses VLAN and if we have a recent kernel, we need
      * to use parsed_pkt to get VLAN info */