From: Steffen Klassert Date: Thu, 29 Mar 2012 07:04:46 +0000 (+0200) Subject: crypto: user - Fix size of netlink dump message X-Git-Tag: v3.4-rc2~41^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5219a5342ab13650ae0f0c62319407268c48d0ab;p=pandora-kernel.git crypto: user - Fix size of netlink dump message The default netlink message size limit might be exceeded when dumping a lot of algorithms to userspace. As a result, not all of the instantiated algorithms dumped to userspace. So calculate an upper bound on the message size and call netlink_dump_start() with that value. Signed-off-by: Steffen Klassert Signed-off-by: Herbert Xu --- Reading git-diff-tree failed