Re: [tcpdump-workers] [Bonding-devel] ethernet bonding + VLAN: additional VLAN tag in

2011-11-30 Thread Jiri Pirko
Tue, Nov 29, 2011 at 09:35:00PM CET, nicolas.2p.deb...@gmail.com wrote: >Le 29/11/2011 14:38, Thomas De Schampheleire a écrit : >>Hi, >> >>I'm seeing incorrect tcpdump output in the following scenario: >> >>* ethernet bonding enabled in the kernel, and a single network >>interface (eth0) added as s

Re: [tcpdump-workers] Current wireless-testing breaks libpcap:

2010-03-08 Thread Jiri Pirko
Sat, Mar 06, 2010 at 10:23:12PM CET, g...@alum.mit.edu wrote: > >On Mar 2, 2010, at 5:00 PM, Pavel Roskin wrote: > >> This patch to libpcap helps: >> >> --- a/pcap-linux.c >> +++ b/pcap-linux.c >> @@ -1563,6 +1563,7 @@ live_open_new(pcap_t *handle, const char >> memset(&mr, 0,

Re: [tcpdump-workers] Current wireless-testing breaks libpcap:

2010-03-03 Thread Jiri Pirko
-- >> From: tcpdump-workers-ow...@lists.tcpdump.org [mailto:tcpdump-workers- >> ow...@lists.tcpdump.org] On Behalf Of Pavel Roskin >> Sent: Tuesday, March 02, 2010 6:01 PM >> To: linux-wirel...@vger.kernel.org; net...@vger.kernel.org; tcpdump- >> work...@lists.tcpdump.org >

Re: [tcpdump-workers] [net-2.6 PATCH] af_packet: move strict addr_len check right

2010-03-03 Thread Jiri Pirko
e strict check to the point >in path where the addr_len must be set correctly. > >Signed-off-by: Jiri Pirko > >diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c >index 031a5e6..1612d41 100644 >--- a/net/packet/af_packet.c >+++ b/net/packet/af_packet.c >@@ -1

[tcpdump-workers] [net-2.6 PATCH] af_packet: move strict addr_len check right before dev_[mc/unicast]_[add/del]

2010-03-02 Thread Jiri Pirko
it stays zeroed) in case of setting PACKET_MR_PROMISC or PACKET_MR_ALLMULTI. So move the strict check to the point in path where the addr_len must be set correctly. Signed-off-by: Jiri Pirko diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index 031a5e6..1612d41 100644 --- a/net

Re: [tcpdump-workers] Current wireless-testing breaks libpcap: mr_alen should be set

2010-03-02 Thread Jiri Pirko
ROMISC; >+ mr.mr_alen= 6; > if (setsockopt(sock_fd, SOL_PACKET, > PACKET_ADD_MEMBERSHIP, &mr, sizeof(mr)) == -1) > { > >libpcap git doesn't have the fix yet. > >The breakag