#946970 scp of large files breaks with kernel 5.4.x

Package:
openssh-client
Source:
openssh
Description:
secure shell (SSH) client, for secure access to remote machines
Submitter:
"S. R. Wright"
Date:
2019-12-18 16:24:04 UTC
Severity:
normal
#946970#5
Date:
2019-12-18 16:21:03 UTC
From:
To:
I am going to submit this as a bug in openssh-client for the moment,
tho' it may actually be inside the kernel if it is driver related. The
NIC is:

Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411
PCI Express Gigabit Ethernet Controller (rev 02)

and uses the r8169 driver,  if that info is useful here.



When using scp to transfer a large file,  it errors out when running
kernel 5.4.4;  with 5.3.17 it succeeds.  If I throttle the scp command
using the -l option running kernel 5.4.4 it can succeed if it is slowed
down enough.

 > uname -a
Linux vex 5.4.4 #1 SMP PREEMPT Tue Dec 17 16:47:28 CST 2019 x86_64
GNU/Linux

 > scp -p /tmp/*.tgz elp:/tmp
XXX@elp's password:
linux-5.4.4.tgz 0%    0     0.0KB/s   --:-- ETAclient_loop: send
disconnect: Broken pipe
lost connection


 > uname -a
Linux vex 5.3.17 #1 SMP PREEMPT Wed Dec 18 09:19:36 CST 2019 x86_64
GNU/Linux

 > scp -p /tmp/*.tgz elp:/tmp
XXX@elp's password:
linux-5.4.4.tgz                               100%  165MB 67.7MB/s   00:02