summaryrefslogtreecommitdiff
path: root/net/sctp/sysctl.c
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2013-12-11 09:50:38 +0800
committerDavid S. Miller <davem@davemloft.net>2013-12-10 22:54:34 -0500
commit85f935d41af097a87067367be66de52896b964e1 (patch)
tree80f8717fe0c3df5009675763c566aba726e22f18 /net/sctp/sysctl.c
parentce7a3bdf18a8dbcba1409f5d335c56fde432ca89 (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>
Diffstat (limited to 'net/sctp/sysctl.c')
0 files changed, 0 insertions, 0 deletions