From: Florent Fourcot <florent.fourcot@wifirst.fr>
To: David Ahern <dsahern@kernel.org>, netdev@vger.kernel.org
Cc: Eric Dumazet <edumazet@google.com>,
Daniel Borkmann <daniel@iogearbox.net>
Subject: Re: [PATCH v2 net-next] net: neigh: add netlink filtering based on LLADDR for dump
Date: Tue, 10 May 2022 08:54:47 +0200 [thread overview]
Message-ID: <8653ac99-4c5a-b596-7109-7622c125088a@wifirst.fr> (raw)
In-Reply-To: <b84e51fa-f410-956e-7304-7a49d297f254@kernel.org>
Hello,
On 10/05/2022 03:38, David Ahern wrote:
> that is done by a GET without the NLM_F_DUMP flag set; doing a table
> dump and filtering to get the one entry is wrong.
GET command takes a L3/IP address and one interface index. It returns
unique entry matching this tuple.
This patch is for reverse lookup: you have one link layer address, and
you need entries matching this link layer address. You can receive
several results, since:
* One link layer address can be used for several IP addresses on the
same interface
* One link layer address can be found on several interfaces
Best regards,
--
Florent Fourcot
next prev parent reply other threads:[~2022-05-10 6:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-09 20:56 [PATCH v2 net-next] net: neigh: add netlink filtering based on LLADDR for dump Florent Fourcot
2022-05-10 1:38 ` David Ahern
2022-05-10 6:54 ` Florent Fourcot [this message]
2022-05-24 20:49 ` Florent Fourcot
2022-05-25 15:19 ` David Ahern
2022-06-09 7:58 ` Florent Fourcot
2022-06-09 15:38 ` David Ahern
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=8653ac99-4c5a-b596-7109-7622c125088a@wifirst.fr \
--to=florent.fourcot@wifirst.fr \
--cc=daniel@iogearbox.net \
--cc=dsahern@kernel.org \
--cc=edumazet@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).