]> 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)
commite644fc594dec6a4234ef992ccdcf6262e1115665
tree219d0bcfe5dee72bc73fdd5099b3117ac47b29f9
parent9587bf9305bd4f793ea8c06fd7db5d933c9af03a
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