Whamcloud - gitweb
LU-12626 lnet: create existing net returns EEXIST 53/35953/2
authorOlaf Faaland <faaland1@llnl.gov>
Fri, 2 Aug 2019 16:38:50 +0000 (09:38 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 Sep 2019 03:49:44 +0000 (03:49 +0000)
commit2a59f48ee2bed7f80ae193edaabc67abc3445d0a
treef61590c1f7696370f55c004f304e3ee7cf4ede1c
parentc4a91e08b1e1452e950037c135dfe9f6cf7a7c30
LU-12626 lnet: create existing net returns EEXIST

When "lnetctl net add" is called for an interface/net pair that
already exists, the error returned should be EEXIST, so the
user knows that the net is already configured.

Lustre-change: https://review.whamcloud.com/35681
Lustre-commit: 4aa71267cc0317e126843509f1c5b237f469414b

Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Change-Id: Idab79ab288a11a2920793f27df235b4dfab497fe
Reviewed-by: Chris Horn <hornc@cray.com>
Reviewed-by: Amir Shehata <ashehata@whamcloud.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/35953
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/api-ni.c