[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOxq_8OnKhLMqdgj=LBiHyYwqjE82-qjcGLiUUcp14RzK8P7YA@mail.gmail.com>
Date: Wed, 31 Oct 2012 18:22:54 -0700
From: Ani Sinha <ani@...stanetworks.com>
To: Guy Harris <guy@...m.mit.edu>
Cc: netdev@...r.kernel.org,
Francesco Ruggeri <fruggeri@...stanetworks.com>,
tcpdump-workers@...ts.tcpdump.org
Subject: Re: [tcpdump-workers] vlan tagged packets and libpcap breakage
On Wed, Oct 31, 2012 at 5:50 PM, Guy Harris <guy@...m.mit.edu> wrote:
>
> On Oct 31, 2012, at 3:35 PM, Ani Sinha <ani@...stanetworks.com> wrote:
>
>> yes but if the packet is passed to the filter within libpcap (when we
>> are not using the kernel filter) before the reinsertion,
>
> ...that would be a bug.
>
> Currently, that bug doesn't exist in the recvfrom() code path, but *does* appear to exist in the tpacket code path - and that code path also runs the filter before the SLL header is constructed. That should be fixed.
yes, agreed.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists