diff options
| author | Avi Weiss <thnkslprpt@gmail.com> | 2026-10-22 21:43:17 +0300 |
|---|---|---|
| committer | Anna Schumaker <anna.schumaker@hammerspace.com> | 2026-11-09 15:04:53 -0500 |
| commit | 7783534ce5fee57adf1b9025745c9af2e1ce2ccd (patch) | |
| tree | 3365691719ade3a789c5529da6a0f629e2d810e6 /tools/perf/scripts/python | |
| parent | 5b0ac1f82201c2ab2d9c31ed568cc782bac6a399 (diff) | |
SUNRPC: preserve transport security policy when cloning clients
RPC client cloning does not copy the parent's transport security
policy into the new client. Clones consequently lose their TLS
policy and certificate/key serials, even though the shared
transport remains protected.
When NFSv4 migration replaces a cloned client's TLS transport, the
missing security policy causes xs_setup_tcp_tls() to return -EACCES.
Copy the parent's cl_xprtsec into the clone arguments before
creating the new client.
Fixes: 500053191297 ("SUNRPC: Plumb an API for setting transport layer security")
Signed-off-by: Avi Weiss <thnkslprpt@gmail.com>
Signed-off-by: Anna Schumaker <anna.schumaker@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
