OpenVZ / Virtuozzo kernel development (devel@openvz.org)
 help / color / mirror / Atom feed
* [Devel] [PATCH hci-8.2 0/4] ms/net: backport request migration RCU fixes and lockless refcount ordering
@ 2026-11-23  0:20 Eva Kurchatova
  2026-11-23  0:20 ` [Devel] [PATCH hci-8.2 1/4] ms/net: restore refcount ordering for lockless socket access Eva Kurchatova
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Eva Kurchatova @ 2026-11-23  0:20 UTC (permalink / raw)
  To: khorenko, vladimir.riabchun; +Cc: devel

Patchset for task https://virtuozzo.atlassian.net/browse/VSTOR-156045

Mainline fixes for sockets whose data another CPU can still read after
an ownership transfer, mostly with request migration, or after the TCP
handshake completes on another CPU.

The IPv4 part, e3f33b0a1d89 ("ipv4: free inet_opt and ireq_opt after an
RCU grace period"), is already in this tree from the RHEL import.

Patches 1, 3 and 4 are plain cherry-picks; patch 2 conflicted only in
context, and patch 4 has a rebase note for __reqsk_free(), which is
still inline here. Patch 1 uses the refcount acquire helpers that came
with "ms/refcount: provide ops for cases when object's memory can be
reused".

Tested in QEMU on branch-rh10-6.12.0-211.75.1.26.x.vz10-ovz with lockdep
and PROVE_RCU.

Eric Dumazet (2):
  ms/tcp: ipv6: do not read ireq->pktopts from tcp_v6_send_synack()
  ms/tcp: ipv6: free ireq->ipv6_opt after an RCU grace period

Hyunwoo Kim (1):
  ms/net: restore refcount ordering for lockless socket access

Yingjie Wang (1):
  ms/tcp: free saved_syn after an RCU grace period

 include/linux/tcp.h             |  9 ++++++---
 include/net/request_sock.h      |  5 +++--
 net/core/filter.c               |  4 ++--
 net/ipv4/inet_connection_sock.c | 10 +++++-----
 net/ipv4/inet_hashtables.c      |  2 +-
 net/ipv4/inet_timewait_sock.c   |  4 ++--
 net/ipv4/syncookies.c           |  2 +-
 net/ipv4/tcp_fastopen.c         |  2 +-
 net/ipv4/tcp_input.c            |  2 +-
 net/ipv6/inet6_hashtables.c     |  2 +-
 net/ipv6/tcp_ipv6.c             |  7 ++++---
 11 files changed, 27 insertions(+), 22 deletions(-)

-- 
2.56.1

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-11-23  8:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  0:20 [Devel] [PATCH hci-8.2 0/4] ms/net: backport request migration RCU fixes and lockless refcount ordering Eva Kurchatova
2026-11-23  0:20 ` [Devel] [PATCH hci-8.2 1/4] ms/net: restore refcount ordering for lockless socket access Eva Kurchatova
2026-11-23  0:28   ` no-reply
2026-11-23  0:20 ` [Devel] [PATCH hci-8.2 2/4] ms/tcp: ipv6: do not read ireq->pktopts from tcp_v6_send_synack() Eva Kurchatova
2026-11-23  0:28   ` no-reply
2026-11-23  0:20 ` [Devel] [PATCH hci-8.2 3/4] ms/tcp: ipv6: free ireq->ipv6_opt after an RCU grace period Eva Kurchatova
2026-11-23  0:30   ` no-reply
2026-11-23  0:20 ` [Devel] [PATCH hci-8.2 4/4] ms/tcp: free saved_syn " Eva Kurchatova
2026-11-23  0:30   ` no-reply
2026-11-23  8:44 ` [Devel] [PATCH hci-8.2 0/4] ms/net: backport request migration RCU fixes and lockless refcount ordering Konstantin Khorenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox