# git rev-parse -q --verify c195d66a8a75c60515819b101975f38b7ec6577f^{commit} c195d66a8a75c60515819b101975f38b7ec6577f already have revision, skipping fetch # git checkout -q -f -B kisskb c195d66a8a75c60515819b101975f38b7ec6577f # git clean -qxdf # < git log -1 # commit c195d66a8a75c60515819b101975f38b7ec6577f # Author: Herbert Xu # Date: Thu Aug 27 17:14:36 2020 +1000 # # crypto: af_alg - Work around empty control messages without MSG_MORE # # The iwd daemon uses libell which sets up the skcipher operation with # two separate control messages. As the first control message is sent # without MSG_MORE, it is interpreted as an empty request. # # While libell should be fixed to use MSG_MORE where appropriate, this # patch works around the bug in the kernel so that existing binaries # continue to work. # # We will print a warning however. # # A separate issue is that the new kernel code no longer allows the # control message to be sent twice within the same request. This # restriction is obviously incompatible with what iwd was doing (first # setting an IV and then sending the real control message). This # patch changes the kernel so that this is explicitly allowed. # # Reported-by: Caleb Jorden # Fixes: f3c802a1f300 ("crypto: algif_aead - Only wake up when...") # Cc: # Signed-off-by: Herbert Xu # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 c195d66a8a75c60515819b101975f38b7ec6577f # < make -s -j 48 ARCH=powerpc O=/kisskb/build/crypto_ppc64_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_defconfig # Added to kconfig CONFIG_SMP=n # < make -s -j 48 ARCH=powerpc O=/kisskb/build/crypto_ppc64_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/crypto_ppc64_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/crypto_ppc64_defconfig+UP_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/crypto_ppc64_defconfig+UP_powerpc-gcc4.9 # Build took: 0:03:42.181565