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

From
Pavel Begunkov <asml.silence@gmail.com>
Date
2026-08-02 12:26:43
Also in
lkml
Reply to
Mina Almasry, 2026-08-01
On 8/1/26 13:52, Mina Almasry wrote:
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.

Fixes: bd61848900bff ("net: devmem: Implement TX path")
Cc: Pavel Begunkov <asml.silence@gmail.com>
Cc: Stanislav Fomichev <sdf@fomichev.me>
Cc: Bobby Eshleman <redacted>
Signed-off-by: Mina Almasry <redacted>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>

-- 
Pavel Begunkov
Thread (8 messages) 8 messages, 2 authors, last reply 2026-08-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help