2020-12-09 23:22:53

by Martin Zaharinov

[permalink] [raw]
Subject: Urgent: BUG: PPP ioctl Transport endpoint is not connected

Hi All

I have problem with latest kernel release
And the problem is base on this late problem :


https://www.mail-archive.com/[email protected]&q=subject:%22Re%5C%3A+ppp%5C%2Fpppoe%2C+still+panic+4.15.3+in+ppp_push%22&o=newest&f=1

I have same problem in kernel 5.6 > now I use kernel 5.9.13 and have same problem.


In kernel 5.9.13 now don’t have any crashes in dimes but in one moment accel service stop with defunct and in log have many of this line :


error: vlan608: ioctl(PPPIOCCONNECT): Transport endpoint is not connected
error: vlan617: ioctl(PPPIOCCONNECT): Transport endpoint is not connected
error: vlan679: ioctl(PPPIOCCONNECT): Transport endpoint is not connected

In one moment connected user bump double or triple and after that service defunct and need wait to drop all session to start .

I talk with accel-ppp team and they said this is kernel related problem and to back to kernel 4.14 there is not this problem.

Problem is come after kernel 4.15 > and not have solution to this moment.

Please help to find the problem.

Last time in link I see is make changes in ppp_generic.c

ppp_lock(ppp);
spin_lock_bh(&pch->downl);
if (!pch->chan) {
/* Don't connect unregistered channels */
spin_unlock_bh(&pch->downl);
ppp_unlock(ppp);
ret = -ENOTCONN;
goto outl;
}
spin_unlock_bh(&pch->downl);


But this fix only to don’t display error and freeze system
The problem is stay and is to big.


Please help to fix.