commit | 3c4d05c8056724aff3abc20650807dd828fded54 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@parallels.com> | Fri Dec 09 06:23:00 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 09 14:14:08 2011 -0500 |
tree | 5aed510034ceed980de3409587cbce8845229e77 | |
parent | 8d07d1518a074a08b90be02eee5ee15e60ac9779 [diff] |
inet_diag: Introduce the inet socket dumping routine The existing inet_csk_diag_fill dumps the inet connection sock info into the netlink inet_diag_message. Prepare this routine to be able to dump only the inet_sock part of a socket if the icsk part is missing. This will be used by UDP diag module when dumping UDP sockets. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: David S. Miller <davem@davemloft.net>