udp_diag: Implement the get_exact dumping functionality
authorPavel Emelyanov <xemul@parallels.com>
Fri, 9 Dec 2011 06:24:06 +0000 (06:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 19:15:00 +0000 (14:15 -0500)
commita925aa00a55e3b72bd38bfdd3d6f97c0d900c949
treec3a713175d2fa0ea295bd20143bd9b0d938c2bb5
parent52b7c59bc34c1eb73c46e023c9c01231e1cb637a
udp_diag: Implement the get_exact dumping functionality

Do the same as TCP does -- lookup a socket in the given udp_table,
check cookie, fill the reply message with existing inet socket dumping
helper and send one back.

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