Whamcloud - gitweb
LU-18828 lnet: lnetctl SIGSEGV in infra_ping_nid 60/58460/8
authorFrank Sehr <fsehr@whamcloud.com>
Wed, 19 Mar 2025 00:10:00 +0000 (17:10 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 7 May 2025 21:12:41 +0000 (21:12 +0000)
commit0329d7b3209c9a6dd3b18d3fc97a5d0d33421be5
tree1b85f8ff5b7a57f6f45c53b58d09965b217f61a6
parent2538e44c7b035093d27b8b3e40e6c2ed17f3238f
LU-18828 lnet: lnetctl SIGSEGV in infra_ping_nid

Return value of strtok() not checked.
Save error code and continue pinging after syntax error.

Test-Parameters: trivial
Signed-off-by: Frank Sehr <fsehr@whamcloud.com>
Change-Id: I817d7c46ced9e8ea42a283b6c05dfc17ce8781f3
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58460
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/utils/lnetconfig/liblnetconfig.c
lnet/utils/lnetctl.c