A One Line Kernel Patch Appears To Solve The Recent Linux + Steam Networking Regression

Written by Michael Larabel in Valve on 22 June 2019 at 12:00 AM EDT. 41 Comments
VALVE
As a follow-up to the issue reported on Friday regarding the latest Linux kernel releases causing problems for Valve's Steam client, a fix appears pending that with changing around one line of code does appear to address the regression.

Linus Torvalds got involved and pointed out a brand new kernel patch that may solve the issue. That patch was quickly reaffirmed by Linux gamers as well as prominent Valve Linux developer Pierre-Loup A. Griffais.

The patch simply refines the memory limit test within the kernel's tcp_fragment() function. The patch was originally devised by a Google developer and quickly tested as well by an Apple developer, surprisingly.

Hopefully this patch will soon appear in kernel stable releases, "Memory limits might have been exceeded because tcp_sendmsg() only checks limits at full skb (64KB) boundaries. Therefore, we need to make sure tcp_fragment() wont punish applications that might have setup very low SO_SNDBUF values."

It was pointed out by Pierre of Valve that Linux desktop distributions should have caught onto such a regression:
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week