Closed anisse closed 2 years ago
@anisse Sorry. I clicked the merge on wrong PR. Could you open a new PR for review and dicussion? Thank you!
@anisse Sorry. I clicked the merge on wrong PR. Could you open a new PR for review and dicussion? Thank you!
Done !
It is implemented on top of SockDiagMessage, and allows using Linux's CONFIG_INET_DIAG_DESTROY feature to close an arbitrary socket.
Please consider this PR more like a request for comments, and a feature request for SOCK_DESTROY support. I'm not really a fan of how it's implemented, but I wanted to see if this was possible, and sent the first working version :-)