commit | 85f935d41af097a87067367be66de52896b964e1 | [log] [tgz] |
---|---|---|
author | wangweidong <wangweidong1@huawei.com> | Wed Dec 11 09:50:38 2013 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 10 22:54:34 2013 -0500 |
tree | 80f8717fe0c3df5009675763c566aba726e22f18 | |
parent | ce7a3bdf18a8dbcba1409f5d335c56fde432ca89 [diff] |
sctp: check the rto_min and rto_max in setsockopt When we set 0 to rto_min or rto_max, just not change the value. Also we should check the rto_min > rto_max. Suggested-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Acked-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>