diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2012-03-29 11:04:46 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-03-29 15:52:48 +0400 |
commit | 5219a5342ab13650ae0f0c62319407268c48d0ab (patch) | |
tree | 42f49976ca15418e512bc172e2b4b08c86b2008a /crypto/rng.c | |
parent | 1e1229940045a537c61fb69f86010a8774e576d0 (diff) | |
download | linux-5219a5342ab13650ae0f0c62319407268c48d0ab.tar.xz |
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 <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rng.c')
0 files changed, 0 insertions, 0 deletions