commit | 637c841dd7a5f9bd97b75cbe90b526fa1a52e530 | [log] [tgz] |
---|---|---|
author | David Ahern <dsa@cumulusnetworks.com> | Thu Jun 23 18:42:51 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 28 05:25:04 2016 -0400 |
tree | c508dea977e73a40f8a52827e1606491d4a687f8 | |
parent | 1ba44a1f4d8160387bdaab0f414bdbcc74f2d59b [diff] |
net: diag: Add support to filter on device index Add support to inet_diag facility to filter sockets based on device index. If an interface index is in the filter only sockets bound to that index (sk_bound_dev_if) are returned. Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>