From: Ram Gupta <ram.gupta5@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: negative timeout can be set up by setsockopt system call
Date: Fri, 04 Nov 2005 20:27:23 +0000 [thread overview]
Message-ID: <436BC42B.1050804@gmail.com> (raw)
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
next reply other threads:[~2005-11-04 20:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-04 20:27 Ram Gupta [this message]
2005-11-04 22:07 ` negative timeout can be set up by setsockopt system call linux-os (Dick Johnson)
2005-11-04 23:18 ` Nish Aravamudan
-- strict thread matches above, loose matches on Subject: below --
2005-11-07 14:42 Ram Gupta
2005-11-07 15:04 ` Nish Aravamudan
2005-11-07 19:29 Ram Gupta
2005-11-07 19:44 ` Nish Aravamudan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=436BC42B.1050804@gmail.com \
--to=ram.gupta5@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.