• Jason Wessel's avatar
    kdb: Fix oops in kdb_unregister · 75d14ede
    Jason Wessel authored
    Nothing should try to use kdb_commands directly as sometimes it is
    null.  Instead, use the for_each_kdbcmd() iterator.
    
    This particular problem dates back to the initial kdb merge (2.6.35),
    but at that point nothing was dynamically unregistering commands from
    the kdb shell.
    Signed-off-by: default avatarJason Wessel <jason.wessel@windriver.com>
    75d14ede
kdb_main.c 70.2 KB