]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add support for filtering neigh dump by device index
authorDavid Ahern <dsa@cumulusnetworks.com>
Sat, 3 Oct 2015 18:43:46 +0000 (11:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 11:12:02 +0000 (04:12 -0700)
commit7d2e01733a71abd738add8ae5ba9e82427f1e6b7
tree219d0bcfe5dee72bc73fdd5099b3117ac47b29f9
parent4b1ed81cf0b6e927190cae1cbe3778944364cddd
net: Add support for filtering neigh dump by device index

Add support for filtering neighbor dumps by device by adding the
NDA_IFINDEX attribute to the dump request.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c