diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2012-03-29 09:04:46 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-03-29 19:52:48 +0800 |
commit | 5219a5342ab13650ae0f0c62319407268c48d0ab (patch) | |
tree | 42f49976ca15418e512bc172e2b4b08c86b2008a /crypto/sha512_generic.c | |
parent | 1e1229940045a537c61fb69f86010a8774e576d0 (diff) | |
download | lwn-5219a5342ab13650ae0f0c62319407268c48d0ab.tar.gz lwn-5219a5342ab13650ae0f0c62319407268c48d0ab.zip |
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/sha512_generic.c')
0 files changed, 0 insertions, 0 deletions