All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] cifs-utils: CLDAP-Ping to find the correct site
@ 2024-03-04 12:23 David Voit
  2024-03-04 12:23 ` [PATCH v2 1/1] Implement CLDAP Ping to find the closest site David Voit
  0 siblings, 1 reply; 2+ messages in thread
From: David Voit @ 2024-03-04 12:23 UTC (permalink / raw)
  To: linux-cifs; +Cc: David Voit

Hi All,

we had some internal review of the patchset and I had some
misunderstanding of the dn_expand call. Thought it returns the
uncompressed size, but it always returns the compressed size, which
easily can be transformed to the next offset. This code was so or so a
little bit flaky, hope this makes the review of the rest of the code
easier for you guys.

summary of changes from last revision:
 - use dn_expand instead of custom implementation
 - check for minimum length in netlogon_size
 - inline read_dns_string return value check

David Voit (1):
  Implement CLDAP Ping to find the closest site

 Makefile.am    |  15 +--
 cldap_ping.c   | 284 +++++++++++++++++++++++++++++++++++++++++++++++++
 cldap_ping.h   |   9 ++
 mount.cifs.c   |   5 +-
 resolve_host.c | 270 +++++++++++++++++++++++++++++++++++++++++-----
 resolve_host.h |   6 +-
 6 files changed, 551 insertions(+), 38 deletions(-)
 create mode 100644 cldap_ping.c
 create mode 100644 cldap_ping.h

-- 
2.44.0


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

end of thread, other threads:[~2024-03-04 12:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04 12:23 [PATCH v2 0/1] cifs-utils: CLDAP-Ping to find the correct site David Voit
2024-03-04 12:23 ` [PATCH v2 1/1] Implement CLDAP Ping to find the closest site David Voit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.