diff options
| author | 2024-08-07 08:50:01 -0500 | |
|---|---|---|
| committer | 2024-08-08 15:05:27 -0500 | |
| commit | fb1c2aaa981e0a2fa6362c9985f1296b74f055ac (patch) | |
| tree | da60096e2d0e330152aab5b495e1c9ea78933aff /scripts/qapi/ssh:/git@git.zx2c4.com | |
| parent | nbd: Minor style and typo fixes (diff) | |
nbd/server: Plumb in new args to nbd_client_add()
Upcoming patches to fix a CVE need to track an opaque pointer passed
in by the owner of a client object, as well as request for a time
limit on how fast negotiation must complete. Prepare for that by
changing the signature of nbd_client_new() and adding an accessor to
get at the opaque pointer, although for now the two servers
(qemu-nbd.c and blockdev-nbd.c) do not change behavior even though
they pass in a new default timeout value.
Suggested-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20240807174943.771624-11-eblake@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
[eblake: s/LIMIT/MAX_SECS/ as suggested by Dan]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qapi/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
