net: Add support for filtering neigh dump by master device
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 29 Sep 2015 16:32:03 +0000 (09:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Sep 2015 04:33:54 +0000 (21:33 -0700)
commit21fdd092acc7ebda0dfe682008592eb79c382707
tree1dec62682983f931ae792c066f1f1bbb2d34372e
parent5172393522e4b2caf1af638076c3c0cd74313ae3
net: Add support for filtering neigh dump by master device

Add support for filtering neighbor dumps by master device by adding
the NDA_MASTER attribute to the dump request. A new netlink flag,
NLM_F_DUMP_FILTERED, is added to indicate the kernel supports the
request and output is filtered as requested.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/netlink.h
net/core/neighbour.c