]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitea5e0e2c53ee2bec7d76a344b74e25a41280428b
treeb260bf31b69ecc73f490d13151cb795901ecbb36
parente9ff55b1316e9d7b4ba9b4155712fa13bc1c9a7e
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