From: "Udo A. Steinberg" <reality@delusion.de>
To: Linux Kernel <linux-kernel@vger.kernel.org>,
linux-net <linux-net@vger.kernel.org>
Subject: Re: mmapped packet socket queueing tcp packets twice?
Date: Tue, 26 Feb 2002 05:45:17 +0100 [thread overview]
Message-ID: <3C7B12DD.264A7AE4@delusion.de> (raw)
In-Reply-To: <3C7B06ED.8EC55523@delusion.de>
"Udo A. Steinberg" wrote:
>
> Feb 26 04:41:56 Kerberos ipacctd: [Slot 4] Incoming TCP - Len: 136 Sum: 72b7 [1014694916.161277]
> Feb 26 04:41:56 Kerberos ipacctd: [Slot 5] Incoming TCP - Len: 136 Sum: 72b7 [1014694916.161592]
I think I've figured out what is happening. The first copy of the packet is of type 4 (outgoing)
and the second copy is of type 3 (otherhost). We are using an fddi ring here, so what seems to
happen is this:
The station running the program with a packet socket sends out a network packet to some other
host and the packet socket gets a copy of the packet with type "outgoing".
This is what I'd expect.
However, once the packet has been around the fddi ring, the originating host receives it again,
and then passes it back to the packet socket as "otherhost", which is of course not wrong,
because the destination is indeed another host, but the source host is the station itself,
and it seems quite awkward that the packet socket regards this packet as "otherhost"
and sees it twice. Shouldn't it look at the source address too?
Comments?
-Udo.
prev parent reply other threads:[~2002-02-26 4:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-26 3:54 mmapped packet socket queueing tcp packets twice? Udo A. Steinberg
2002-02-26 4:45 ` Udo A. Steinberg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3C7B12DD.264A7AE4@delusion.de \
--to=reality@delusion.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.