diff options
author | Stephan Mueller <smueller@chronox.de> | 2016-05-16 02:53:36 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-05-31 16:41:47 +0800 |
commit | 5cec70e9bcd56bf924c6b08cad3db16fb54e1c0d (patch) | |
tree | f3ab70204130dd1133e3553e005ebed59808e490 /crypto/michael_mic.c | |
parent | b415b57f7e77e032c4c6174b47eb658d19c8b36e (diff) | |
download | linux-crypto-5cec70e9bcd56bf924c6b08cad3db16fb54e1c0d.tar.gz linux-crypto-5cec70e9bcd56bf924c6b08cad3db16fb54e1c0d.zip |
crypto: user - no parsing of CRYPTO_MSG_GETALG
The CRYPTO_MSG_GETALG netlink message type provides a buffer to the
kernel to retrieve information from the kernel. The data buffer will not
provide any input and will not be read. Hence the nlmsg_parse is not
applicable to this netlink message type.
This patch fixes the following kernel log message when using this
netlink interface:
netlink: 208 bytes leftover after parsing attributes in process `XXX'.
Patch successfully tested with libkcapi from [1] which uses
CRYPTO_MSG_GETALG to obtain cipher-specific information from the kernel.
[1] http://www.chronox.de/libkcapi.html
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/michael_mic.c')
0 files changed, 0 insertions, 0 deletions