diff options
| author | linzhang <[email protected]> | 2017-05-17 12:05:07 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-05-18 10:05:40 -0400 |
| commit | 64df6d525fcff1630098db9238bfd2b3e092d5c1 (patch) | |
| tree | 891f6e66c98038bce663c67f96ef3b40b8aa00d4 /scripts/gcc-plugins/gcc-generate-rtl-pass.h | |
| parent | 3c2ce60bdd3d57051bf85615deec04a694473840 (diff) | |
net: x25: fix one potential use-after-free issue
The function x25_init is not properly unregister related resources
on error handler.It is will result in kernel oops if x25_init init
failed, so add properly unregister call on error handler.
Also, i adjust the coding style and make x25_register_sysctl properly
return failure.
Signed-off-by: linzhang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions