# 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_ppc64e_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64e_defconfig # < make -s -j 48 ARCH=powerpc O=/kisskb/build/crypto_ppc64e_defconfig_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_ppc64e_defconfig_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_ppc64e_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- INFO: Uncompressed kernel (size 0xc5d4b8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.9.0-rc1-47713-gc195d66a8 Created: Fri Aug 28 08:45:36 2020 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5173206 Bytes = 5051.96 KiB = 4.93 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/crypto_ppc64e_defconfig_powerpc-gcc4.9 # Build took: 0:01:48.105396