diff options
author | Andrei Pelinescu-Onciul <andrei@iptel.org> | 2009-11-23 15:54:01 -0500 |
---|---|---|
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | 2009-11-23 15:54:01 -0500 |
commit | f6778aab6ccc4b510b4dcfa770d9949b696b4545 (patch) | |
tree | d3aca83fb8994d2efbc5420d68e1d27f1c8c08a7 /fs/dcookies.c | |
parent | d8dd15781dd621c5ceab79083f4c5112787863f5 (diff) | |
download | blackbird-op-linux-f6778aab6ccc4b510b4dcfa770d9949b696b4545.tar.gz blackbird-op-linux-f6778aab6ccc4b510b4dcfa770d9949b696b4545.zip |
sctp: limit maximum autoclose setsockopt value
To avoid overflowing the maximum timer interval when transforming
the autoclose interval from seconds to jiffies, limit the maximum
autoclose value to MAX_SCHEDULE_TIMEOUT/HZ.
Signed-off-by: Andrei Pelinescu-Onciul <andrei@iptel.org>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'fs/dcookies.c')
0 files changed, 0 insertions, 0 deletions