commit | 2788cc47f4593cca2c3c73c7bb82cd32b88c8ef7 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Dec 06 12:33:02 2015 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Dec 06 12:33:02 2015 -0500 |
tree | 09b9de3f1e714873e1cfb947257c2de5a1040f5f | |
parent | 0f7ff2dabbc95ed7a8019d142274f0c7e083577d [diff] |
Don't reset ->total_link_count on nested calls of vfs_path_lookup() we already zero it on outermost set_nameidata(), so initialization in path_init() is pointless and wrong. The same DoS exists on pre-4.2 kernels, but there a slightly different fix will be needed. Cc: stable@vger.kernel.org # v4.2 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>