diff options
author | Andrey Tsyvarev <tsyvarev@ispras.ru> | 2015-02-05 23:39:57 -0500 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-02-06 00:01:40 -0500 |
commit | de96d79f343321d26ff920af25fcefe6895ca544 (patch) | |
tree | e614ee846061655156e2ec93922e1e7bcefc6ab2 /scripts/gdb/vmlinux-gdb.py | |
parent | 5d8591bc0fbaeb6deda6ee478577e9c4d9b10c2b (diff) |
kernel/module.c: Free lock-classes if parse_args failed
parse_args call module parameters' .set handlers, which may use locks defined in the module.
So, these classes should be freed in case parse_args returns error(e.g. due to incorrect parameter passed).
Signed-off-by: Andrey Tsyvarev <tsyvarev@ispras.ru>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions