mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
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]>