commit | d23deaa07b9b788e781a2253672cdc8b65b85e53 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@parallels.com> | Tue Dec 06 07:59:15 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 06 13:58:02 2011 -0500 |
tree | 14c83ea2a3b804a39a3e19626c1dc349b6f12b8d | |
parent | 25c4cd2b6dfd8e3d8efd8e85f167b66c032b80d9 [diff] |
inet_diag: Introduce socket family checks The new API will specify family to work with. Teach the existing socket walking code to bypass not interesting ones. To preserve compatibility with existing behavior the _compat code sets interesting family to AF_UNSPEC to dump them all. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>