Whamcloud - gitweb
LU-10391 mgs: copy full nid string 15/53115/5
authorJames Simmons <jsimmons@infradead.org>
Wed, 22 Nov 2023 01:51:18 +0000 (20:51 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 Nov 2023 21:26:19 +0000 (21:26 +0000)
commit8276ade19d573c6eb3b561dbcbc30de607a703fd
treef81575e043a271aab1a8a6e93c1c10d4607219c1
parent6b514c0bd0e3f83cfb9f547148b6fc183db7c4c9
LU-10391 mgs: copy full nid string

For IPv6 testing in mgs_steal_client_llog_handler() the full NID
string was not being copied. Instead we copied the size of pointer
not the NID string. Copy the full NID string.

Fixes: c0cb747e ("LU-13306 mgs: use large NIDS in the nid table on the MGS")
Change-Id: I7e19db0b0d3806c1c6fabe2ede0d880a45fe3052
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53115
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/mgs/mgs_llog.c