[PATCH 4.4 122/131] fs/proc/proc_sysctl.c: fix NULL pointer dereference in put_links