crypto: user - Fix size of netlink dump message
authorSteffen Klassert <steffen.klassert@secunet.com>
Thu, 29 Mar 2012 07:04:46 +0000 (09:04 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 29 Mar 2012 11:52:48 +0000 (19:52 +0800)
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 <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

No differences found