Thread (1 message) 1 message, 1 author, 2007-08-08

Re: [RFC] allow device to stop packet mirror behaviour

From: David Miller <hidden>
Date: 2007-08-08 10:17:55
Also in: linux-wireless

From: Johannes Berg <redacted>
Date: Wed, 08 Aug 2007 11:14:01 +0200
On Tue, 2007-08-07 at 18:06 -0700, David Miller wrote:
quoted
From: Johannes Berg <redacted>
Date: Tue, 07 Aug 2007 10:25:55 +0200
quoted
The only way to solve this problem therefore seems to be to suppress the
mirroring out of the packet by dev_queue_xmit_nit(). The patch below
does that by way of adding a new netdev flag.
Multicast packets also get looped back in a similar manner in the ipv4
code.  These will also be seen twice due to this issue.
I don't think these other places are of any interest because of the
radiotap+802.11 framing on the devices where it is relevant to us; you
can't actually add an IP route to a monitor interface as far as I can
tell.
Then I don't understand your problem.  If they are specific 802.11
protocol packets, the radio stack is in a much better situation to
filter out things like this.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help