Messages in this thread | | | Date | Fri, 04 Nov 2005 20:27:23 +0000 | From | Ram Gupta <> | Subject | negative timeout can be set up by setsockopt system call |
| |
I observed that the the setsockopt system call can setup negative timeout. As a matter of fact the function sock_set_timeout checks for zero timeout but does not check for negative timeouts. I tested this against 2.6.14 kernel but it is so in all previous release also. So I am wondering if it is a bug or there is some reason for keeping it that way which I am missing.
Regards Ram gupta - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |