]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4e28dc3d32c7724adbb11e87c562d819f7c9412
treec3a713175d2fa0ea295bd20143bd9b0d938c2bb5
parent88b44f764e46609e51be2ff33be34cddc6983c30
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