diff options
| author | Rick Macklem <rmacklem@FreeBSD.org> | 2026-10-04 20:29:43 +0000 |
|---|---|---|
| committer | Rick Macklem <rmacklem@FreeBSD.org> | 2026-10-04 20:29:43 +0000 |
| commit | 81a6514689cefdaa5c92b5539ae885ec8c6b3336 (patch) | |
| tree | a117e0633613e0a5d368d88ac6133987a32fa302 /usr.bin/cmp/link.c | |
| parent | a127039dd0c24bc18b3513322d22fd8fee6724eb (diff) | |
When clnt_vc_destroy() is called, it might not be the
current connection. Without this patch, if it is not
the current connection, xp_p2 is set NULL and xprt is released
when it should not be released.
This patch adds a check for "current connection" to fix
the problem. Found during testing to the client RDMA code,
but could happen for TCP as well.
MFC after: 1 week
Diffstat (limited to 'usr.bin/cmp/link.c')
0 files changed, 0 insertions, 0 deletions
