commit | 7b63c5772fd6eea71b1332570812297e45403126 | [log] [tgz] |
---|---|---|
author | Devendra Naga <devendra.aaru@gmail.com> | Tue Jan 22 03:38:17 2013 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jan 22 08:58:44 2013 -0800 |
tree | e6470434c08799c1c17fc3e72a1060b2afea99e3 | |
parent | b194218dba531b9c36080d29d10fdf9ef96a15bf [diff] |
staging: dgrp: check for a valid proc dir entry pointer while proc_create fails, the register_proc_table can do a derefernce of the null pointer causing to oops the system, instead check for a valid pointer at register and unregister Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>