FYI, we noticed the following commit (built with gcc-7): commit: 38ec705901e9fc1e1f67f02fdac7c640bafe6942 ("[PATCH net] sctp: return a one-to-one type socket when doing peeloff") url: https://github.com/0day-ci/linux/commits/Xin-Long/sctp-return-a-one-to-one-type-socket-when-doing-peeloff/20200302-150850 in testcase: ltp with following parameters: test: net.sctp test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features. test-url: http://linux-test-project.github.io/ on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): If you fix the issue, kindly add following tag Reported-by: kernel test robot <<>> tag=test_peeloff stime=1584027478 cmdline="test_peeloff" contacts="" analysis=exit <<>> test_peeloff.c 1 TPASS : sctp_peeloff test_peeloff.c 2 TPASS : listen on a peeled off socket test_peeloff.c 3 TPASS : sctp_peeloff on a peeled off socket test_peeloff.c 4 TPASS : Receive msgs on peeled off sockets test_peeloff.c 5 TPASS : Send msgs on peeled off sockets test_peeloff.c 6 TBROK : /tmp/lkp/ltp/src/ltp/utils/sctp/func_tests/../testlib/sctputil.h:214: sendmsg: error:-1 errno:99 test_peeloff.c 7 TBROK : /tmp/lkp/ltp/src/ltp/utils/sctp/func_tests/../testlib/sctputil.h:214: Remaining cases broken <<>> initiation_status="ok" duration=0 termination_type=exited termination_id=2 corefile=no cutime=0 cstime=0 <<>> <<>> tag=test_peeloff_v6 stime=1584027478 cmdline="test_peeloff_v6" contacts="" analysis=exit <<>> test_peeloff.c 1 TPASS : sctp_peeloff test_peeloff.c 2 TPASS : listen on a peeled off socket test_peeloff.c 3 TPASS : sctp_peeloff on a peeled off socket test_peeloff.c 4 TPASS : Receive msgs on peeled off sockets test_peeloff.c 5 TPASS : Send msgs on peeled off sockets test_peeloff.c 6 TBROK : /tmp/lkp/ltp/src/ltp/utils/sctp/func_tests/../testlib/sctputil.h:214: sendmsg: error:-1 errno:99 test_peeloff.c 7 TBROK : /tmp/lkp/ltp/src/ltp/utils/sctp/func_tests/../testlib/sctputil.h:214: Remaining cases broken <<>> initiation_status="ok" duration=0 termination_type=exited termination_id=2 corefile=no cutime=0 cstime=0 <<>> To reproduce: # build kernel cd linux cp config-5.6.0-rc3-00172-g38ec705901e9f .config make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 INSTALL_MOD_PATH= modules_install cd find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k -m modules.cgz job-script # job-script is attached in this email Thanks, Rong Chen