Andrei Pelinescu-Onciul da85b7396f sctp: fix integer overflow when setting the autoclose timer
When setting the autoclose timeout in jiffies there is a possible
integer overflow if the value in seconds is very large
(e.g. for 2^22 s with HZ=1024). The problem appears even on
64-bit due to the integer promotion rules. The fix is just a cast
 to unsigned long.

Signed-off-by: Andrei Pelinescu-Onciul <andrei@iptel.org>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
2009-11-23 15:54:01 -05:00
..
2009-11-02 08:43:45 -06:00
2009-05-25 01:53:53 -07:00
2009-11-10 22:27:13 -08:00
2009-11-22 20:43:13 -08:00
2009-09-26 20:16:15 -07:00
2009-07-12 12:22:34 -07:00