On Mon, May 16, 2016 at 02:53:36AM +0200, Stephan Mueller wrote: > 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@xxxxxxxxxx> Applied. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html