From: Dipankar Sarma Date: Wed, 14 Sep 2005 19:18:42 +0000 (+0530) Subject: [PATCH] Fix the fdtable freeing in the case of vmalloced fdset/arrays X-Git-Tag: v2.6.14-rc2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b175a7e68c2f51555820efb0a01681e3419c1bc;p=pandora-kernel.git [PATCH] Fix the fdtable freeing in the case of vmalloced fdset/arrays Noted by David Miller: "The bug is that free_fd_array() takes a "num" argument, but when calling it from __free_fdtable() we're instead passing in the size in bytes (ie. "num * sizeof(struct file *)")." Yes it is a bug. I think I messed it up while merging newer changes with an older version where I was using size in bytes to optimize. Signed-off-by: Dipankar Sarma Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed