sctp: add check rto_min and rto_max in sysctl
authorwangweidong <wangweidong1@huawei.com>
Wed, 11 Dec 2013 01:50:39 +0000 (09:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 03:54:34 +0000 (22:54 -0500)
commit4f3fdf3bc59cafd14c3bc2c2369efad34c7aa8b5
tree0c699a90897705084991612b759488c7f2479a1b
parent85f935d41af097a87067367be66de52896b964e1
sctp: add check rto_min and rto_max in sysctl

rto_min should be smaller than rto_max while rto_max should be larger
than rto_min. Add two proc_handler for the checking.

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>
net/sctp/sysctl.c