Re: [lkp] [sctp] d46e416c11: WARNING: CPU: 2 PID: 727 at net/ipv4/af_inet.c:685 inet_accept+0x10d/0x110

From: Marcelo Ricardo Leitner
Date: Mon Jun 13 2016 - 12:23:00 EST


Em 11-06-2016 22:58, kernel test robot escreveu:


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master
commit d46e416c11c88ef1deb5c7f19271806a5be597fe ("sctp: sctp should change socket state when shutdown is received")

in testcase: ltp
with following parameters: test=sctp

on test machine: nhm-white2: 8 threads Nehalem with 4G memory

caused below changes:

Hi,

Xin and I are working on a fix for this. Using SCTP_SS_CLOSING for sctp_sock_migrate() wasn't a good move. That's what is causing this.
Probably should have just moved to SCTP_SS_CLOSED already as the asoc is already closed.

Thanks,
Marcelo