Thread (9 messages) flat view 9 messages, 3 authors, 14h ago

Re: [PATCH net v2 2/3] net: devmem: return EMSGSIZE on type mismatch

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-08-04 21:38:47
Also in: lkml

On Tue, 4 Aug 2026 08:36:40 -0700 Mina Almasry wrote:
On Mon, Aug 3, 2026 at 12:54 PM Jakub Kicinski [off-list ref] wrote:
quoted
On Mon,  3 Aug 2026 17:14:40 +0000 Mina Almasry wrote:  
quoted
When a devmem payload mixes with a standard page payload, return
-EMSGSIZE instead of -EFAULT. This enables tcp_sendmsg to seamlessly
fall back to creating a new segment instead of failing the socket send.  
Sure but AFAIU this was discovered during a ML discussion,
so the change is an improvement for net-next rather than a fix.
Do you have any reason to believe that real applications hit
the error?
No, I don't have a reason; I just thought it was a straightforward fix
you might want to take in net. I can definitely punt this to net-next.
I'm a bit unsure whether you want this series reposted as v3 without
this patch, or if you're going to take the other 2 patches. I guess if
I don't see the rest merged I'll repost. Thanks!
split and repost please
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help