diff options
| author | Mina Almasry <almasrymina@google.com> | 2026-08-14 19:13:31 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-20 13:22:14 -0700 |
| commit | d9c56501c72fdac937e8b770f31655c46832f1a5 (patch) | |
| tree | 7a06e4c4f13a86980d4d4e2723a2df75029b2ee8 /tools/perf/scripts/python | |
| parent | 68d8c6532659168430e489bb659c0d41de7d75fe (diff) | |
| download | linux-d9c56501c72fdac937e8b770f31655c46832f1a5.tar.gz linux-d9c56501c72fdac937e8b770f31655c46832f1a5.zip | |
net: tcp: block mixing readable and unreadable frags
Protect tcp_sendmsg_locked() from mistakenly mixing readable and
unreadable page fragments in the same SKB.
Check that the devmem binding matches the existing SKB's readability.
If a mismatch is detected, avoid collapsing and create a new segment.
Fixes: bd61848900bff ("net: devmem: Implement TX path")
Suggested-by: Eric Dumazet <edumazet@google.com>
Cc: Pavel Begunkov <asml.silence@gmail.com>
Cc: Stanislav Fomichev <sdf@fomichev.me>
Cc: Bobby Eshleman <bobbyeshleman@gmail.com>
Signed-off-by: Mina Almasry <almasrymina@google.com>
Link: https://patch.msgid.link/20260814191336.187243-2-almasrymina@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
