From: David Miller <davem@davemloft.net>
To: chavey@google.com
Cc: netdev@vger.kernel.org
Subject: Re: AF_PACKET how to get the original netdev from a packet received from a bonded master
Date: Wed, 18 Apr 2007 16:25:23 -0700 (PDT) [thread overview]
Message-ID: <20070418.162523.68157230.davem@davemloft.net> (raw)
In-Reply-To: <97949e3e0704181605v39e24bh18ac278adc8b823f@mail.gmail.com>
From: "Laurent Chavey" <chavey@google.com>
Date: Wed, 18 Apr 2007 16:05:27 -0700
> When using PF_PACKET socket with bonded interfaces, there is no
> way to get the slave interface (physical interface) the packet was
> actually received on.
That's right.
There isn't a real good solution to this problem either.
Decapsulation can happen to arbitrary levels, how many
devices should we remember and how to do the reference
counting on that correctly?
As such, I don't think this will ever be provided.
next prev parent reply other threads:[~2007-04-18 23:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-18 23:05 AF_PACKET how to get the original netdev from a packet received from a bonded master Laurent Chavey
2007-04-18 23:25 ` David Miller [this message]
[not found] ` <41b516cb0704181652o6a05b570t511ee23373a0b3ac@mail.gmail.com>
[not found] ` <20070418.170749.07021824.davem@davemloft.net>
2007-04-19 0:17 ` Chris Leech
2007-04-19 1:06 ` David Miller
2007-04-19 2:02 ` Chris Leech
2007-04-19 20:55 ` Chris Friesen
2007-04-23 19:03 ` Laurent Chavey
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=20070418.162523.68157230.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=chavey@google.com \
--cc=netdev@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).