VOOZH about

URL: https://www.phoronix.com/news/Linux-Reverting-SMC-TCP-ULP

⇱ Linux Dropping SMC TCP ULP Support For Being "Fundamentally Broken" - Phoronix


👁 Phoronix

Linux Dropping SMC TCP ULP Support For Being "Fundamentally Broken"

Written by Michael Larabel in Linux Networking on 3 February 2026 at 08:10 AM EST. Add A Comment
Merged four years ago to the Linux kernel networking subsystem's Shared Memory Communications (SMC) code was TCP Upper Layer Protocol (ULP) support for allowing applications to replace TCP with the SMC protocol in-place as a transparent replacement. Except for the next kernel cycle it's set to be reverted after realizing it's "fundamentally broken."

Back in early 2022 the TCP ULO support for SMC was introduced by an Alibaba engineer but now it's realized to be an inadequate design and that better, modern alternatives such as using BPF instead are possible.

The revert commit elaborates:
"As reported by Al Viro, the TCP ULP support for SMC is fundamentally broken. The implementation attempts to convert an active TCP socket into an SMC socket by modifying the underlying `struct file`, dentry, and inode in-place, which violates core VFS invariants that assume these structures are immutable for an open file, creating a risk of use after free errors and general system instability.

Given the severity of this design flaw and the fact that cleaner alternatives (e.g., LD_PRELOAD, BPF) exist for legacy application transparency, the correct course of action is to remove this feature entirely."

Thus bidding the SMC TCP ULP feature farewell in the upcoming Linux 6.20~7.0 kernel cycle.

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.