net: diag: Add the ability to destroy a socket.
authorLorenzo Colitti <lorenzo@google.com>
Wed, 16 Dec 2015 03:30:03 +0000 (12:30 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Dec 2015 04:26:51 +0000 (23:26 -0500)
commit64be0aed59ad519d6f2160868734f7e278290ac1
treeb260bf31b69ecc73f490d13151cb795901ecbb36
parentb613f56ec9baf30edf5d9d607b822532a273dad7
net: diag: Add the ability to destroy a socket.

This patch adds a SOCK_DESTROY operation, a destroy function
pointer to sock_diag_handler, and a diag_destroy function
pointer.  It does not include any implementation code.

Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/sock_diag.h
include/net/sock.h
include/uapi/linux/sock_diag.h
net/core/sock_diag.c