Whamcloud - gitweb
LU-10391 ksocklnd: use ksocknal_protocol v4 for IPv6 11/52911/2
authorJames Simmons <jsimmons@infradead.org>
Tue, 31 Oct 2023 16:53:40 +0000 (12:53 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 8 Nov 2023 22:00:47 +0000 (22:00 +0000)
commitcb5f92c0e38eaca4b76f17356ba6d7817c220f56
tree9754caf6917979031bfbca2bc947e478b102d7b0
parent02b22df6431a764c00ed0fbbc3286c2ed4dfbab0
LU-10391 ksocklnd: use ksocknal_protocol v4 for IPv6

During testing of IPv6 I encountered the following error:

LNetError: 11c-c: Protocol error connecting to ...

This was due to the ksocklnd protocol not being set to the correct
version when using IPv6 addresses. Test if we have a IPv6 peer and
set the proper protocol.

Test-Parameters: trivial testlist=sanity-lnet
Change-Id: I19183e904acee4cb8b9d3b7e77284c81f6cdc2b4
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52911
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/socklnd/socklnd.c
lnet/klnds/socklnd/socklnd_cb.c