[patch 22/22] fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links