OSDN Git Service

net/neigh: Extend dump filter to proxy neighbor dumps
authorDavid Ahern <dsahern@gmail.com>
Wed, 3 Oct 2018 22:33:12 +0000 (15:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Oct 2018 07:28:45 +0000 (00:28 -0700)
commit6f52f80e85309738121f2db51a3cac91b8195743
tree94b2a779bb6dc233942bfacc4c2525e190d446db
parent2970f2a8e941265fb3a25128a6c016b52e27cb91
net/neigh: Extend dump filter to proxy neighbor dumps

Move the attribute parsing from neigh_dump_table to neigh_dump_info, and
pass the filter arguments down to neigh_dump_table in a new struct. Add
the filter option to proxy neigh dumps as well to make them consistent.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c