Re: getneigh: add nondump to retrieve single entry

From: Roopa Prabhu
Date: Tue May 14 2019 - 11:42:15 EST


On Mon, May 13, 2019 at 9:04 AM <mcmahon@xxxxxxxxxx> wrote:
>
> From: Leonard Zgrablic <lzgrablic@xxxxxxxxxx>
>
> Currently there is only a dump version of RTM_GETNEIGH for PF_UNSPEC in
> RTNETLINK that dumps neighbor entries, no non-dump version that can be used to
> retrieve a single neighbor entry.
>
> Add support for the non-dump (doit) version of RTM_GETNEIGH for PF_UNSPEC so
> that a single neighbor entry can be retrieved.
>
> Signed-off-by: Leonard Zgrablic <lzgrablic@xxxxxxxxxx>
> Signed-off-by: Ben McMahon <mcmahon@xxxxxxxxxx>
> ---


I am a bit confused here. How is this different from the below commit
already in the tree ?

commit 82cbb5c631a07b3aa6df6eab644d55da9de5a645
Author: Roopa Prabhu <roopa@xxxxxxxxxxxxxxxxxxx>
Date: Wed Dec 19 12:51:38 2018 -0800
neighbour: register rtnl doit handler