Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 889d487a authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcutorture: Fix module unwind when bad torture_type specified



The rcutorture module has a list of torture types, and specifying a
type not on this list is supposed to cleanly fail the module load.
Unfortunately, the "fail" happens without the "cleanly".  This commit
therefore adds the needed clean-up after an incorrect torture_type.

Reported-by: default avatarDavid Miller <davem@davemloft.net>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: default avatarDavid Miller <davem@davemloft.net>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
parent 19a5ecde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment