Home
last modified time | relevance | path

Searched hist:"859 f0f0d6bf753c16caa0103a541c69fb6bd5e37" (Results 1 – 3 of 3) sorted by relevance

/freebsd/share/man/man9/
H A Dtcp_functions.9diff 859f0f0d6bf753c16caa0103a541c69fb6bd5e37 Sat Jul 13 12:22:25 CEST 2024 Michael Tuexen <tuexen@FreeBSD.org> tcp: refactor register_tcp_functions_as_names()

Refactor register_tcp_functions_as_names() such that either all or
no (in error cases) registrations happen atomically (while holding
the tcp_function_lock write lock). Also ensure that the TCP function
block is not already registered.
This avoids situations, where some registrations were performed and
then they were removed without holding a lock in between or checking
ref counts.

Reviewed by: cc
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D45947
/freebsd/sys/netinet/
H A Dtcp_var.hdiff 859f0f0d6bf753c16caa0103a541c69fb6bd5e37 Sat Jul 13 12:22:25 CEST 2024 Michael Tuexen <tuexen@FreeBSD.org> tcp: refactor register_tcp_functions_as_names()

Refactor register_tcp_functions_as_names() such that either all or
no (in error cases) registrations happen atomically (while holding
the tcp_function_lock write lock). Also ensure that the TCP function
block is not already registered.
This avoids situations, where some registrations were performed and
then they were removed without holding a lock in between or checking
ref counts.

Reviewed by: cc
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D45947
H A Dtcp_subr.cdiff 859f0f0d6bf753c16caa0103a541c69fb6bd5e37 Sat Jul 13 12:22:25 CEST 2024 Michael Tuexen <tuexen@FreeBSD.org> tcp: refactor register_tcp_functions_as_names()

Refactor register_tcp_functions_as_names() such that either all or
no (in error cases) registrations happen atomically (while holding
the tcp_function_lock write lock). Also ensure that the TCP function
block is not already registered.
This avoids situations, where some registrations were performed and
then they were removed without holding a lock in between or checking
ref counts.

Reviewed by: cc
MFC after: 1 week
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D45947