Thanks for the reviews. This version fixes a few issues and addresses Tom's comments on v5. Specifically:
1. As requested by Tom, tcp_abort is no longer behind a config option, and now allows the caller to specify the error with which to interrupt blocking operations. (The SOCK_DIAG codepath to close TCP sockets from userspace always uses ECONNABORTED.) 2. Config symbols are checked with "ifdef" not "if". 3. The boolean Kconfig option no longer depends on INET_DIAG && (IPV6 || IPV6=n) but only on INET_DIAG The name of the operation is still SOCK_DESTROY, and the functions that implement it still have "destroy" in their name. I'm leaning towards changing this to SOCK_ABORT instead, both to reduce confusion with e.g., sock_diag_destroy_group, and because it seems more correct in general, at least for TCP. Thoughts on the name? -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html