]> git.baikalelectronics.ru Git - kernel.git/commit
inet_diag: Split inet_diag_get_exact into parts
authorPavel Emelyanov <xemul@parallels.com>
Fri, 9 Dec 2011 06:22:10 +0000 (06:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 19:14:08 +0000 (14:14 -0500)
commitb52ff51549da1da600160d30f66a1f1e16032f57
tree4057a0698839b01a55f27109f52ef74f558e3ea1
parent4a85f84fd16b5718aa8ce9e4fed68f3e76f6bdff
inet_diag: Split inet_diag_get_exact into parts

The 1st part locks the inet handler and the 2nd one dump the
inet connection sock.

In the next patches the 1st part will be generalized to call
the socket dumping routine indirectly (i.e. TCP/UDP/DCCP) and
the 2nd part will be used by TCP and DCCP handlers.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_diag.c