[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120727.134612.98239415160690955.davem@davemloft.net>
Date: Fri, 27 Jul 2012 13:46:12 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: liuhangbin@...il.com
Cc: netdev@...r.kernel.org, hkchu@...gle.com
Subject: Re: [PATCH] tcp: Add TCP_USER_TIMEOUT negative value check
From: Hangbin Liu <liuhangbin@...il.com>
Date: Fri, 27 Jul 2012 16:52:21 +0800
> TCP_USER_TIMEOUT is a TCP level socket option that takes an unsigned int. But
> patch "tcp: Add TCP_USER_TIMEOUT socket option"(dca43c75) didn't check the negative
> values. If a user assign -1 to it, the socket will set successfully and wait
> for 4294967295 miliseconds. This patch add a negative value check to avoid
> this issue.
>
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists