rcutorture: Bounds-check rcutorture.shuffle_interval
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 14 May 2015 23:55:45 +0000 (16:55 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 15 Jul 2015 21:47:16 +0000 (14:47 -0700)
commite8e255f7191fb6491dd1d96cfbbe19981f6eb3dd
treea332efa81a1c9667b5f9974a1a523b21c7f91e6f
parent4444d852a99b8f0310f369da8473ec3639e380a7
rcutorture: Bounds-check rcutorture.shuffle_interval

Specifying a negative rcutorture.shuffle_interval value will cause a
negative value to be used as a sleep time.  This commit therefore
refuses to start shuffling unless the rcutorture.shuffle_interval
value is greater than zero.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/rcutorture.c