656dce8
From 1ce0a55f93bdddb4bdf0956f094f4198f714a42c Mon Sep 17 00:00:00 2001
656dce8
From: Michal Sekletar <msekleta@redhat.com>
656dce8
Date: Mon, 29 Sep 2014 09:25:52 +0200
656dce8
Subject: [PATCH 4/4] pcap-linux: don't use TPACKETV3 for memory mmapped
656dce8
 capture
656dce8
656dce8
There has been numerous reports from users complaining about changes in behavior
656dce8
of libpcap when using libpcap compiled with TPACKETV3 support. Back out and
656dce8
disable it.
656dce8
656dce8
See: https://github.com/the-tcpdump-group/libpcap/issues/380
656dce8
See: https://github.com/the-tcpdump-group/libpcap/issues/364
656dce8
656dce8
Resolves: #1131500
656dce8
---
656dce8
 pcap-linux.c | 3 ---
656dce8
 1 file changed, 3 deletions(-)
656dce8
656dce8
diff --git a/pcap-linux.c b/pcap-linux.c
656dce8
index 58292c3..b3a7a51 100644
656dce8
--- a/pcap-linux.c
656dce8
+++ b/pcap-linux.c
656dce8
@@ -193,9 +193,6 @@
656dce8
   * uses many ring related structs and macros */
656dce8
 # ifdef TPACKET_HDRLEN
656dce8
 #  define HAVE_PACKET_RING
656dce8
-#  ifdef TPACKET3_HDRLEN
656dce8
-#   define HAVE_TPACKET3
656dce8
-#  endif /* TPACKET3_HDRLEN */
656dce8
 #  ifdef TPACKET2_HDRLEN
656dce8
 #   define HAVE_TPACKET2
656dce8
 #  else  /* TPACKET2_HDRLEN */
656dce8
-- 
656dce8
1.8.3.1
656dce8