aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorStephan Mueller <[email protected]>2016-05-16 00:53:36 +0000
committerHerbert Xu <[email protected]>2016-05-31 08:41:47 +0000
commiteed1e1afd8d542d9644534c1b712599b5d680007 (patch)
tree135955503d62c4da95dd5ab2e719802d6751f825 /lib/mpi/mpicoder.c
parentcrypto: sha-ssse3 - add MODULE_ALIAS (diff)
downloadkernel-eed1e1afd8d542d9644534c1b712599b5d680007.tar.gz
kernel-eed1e1afd8d542d9644534c1b712599b5d680007.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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions