BACKPORT: 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.

[backport of net-next 64be0aed59ad519d6f2160868734f7e278290ac1]

Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Bug: None
Patchset: net-diag-socket-destroy

Signed-off-by: Mattias Nissler <mnissler@google.com>
Change-Id: I7dbbd623d791829cb032a71661fcb2564e2e3a96
4 files changed