Whamcloud - gitweb
LU-10554 lnet: Remove LASSERT on userspace data 00/31100/3
authorSonia Sharma <Sonia.Sharma@intel.com>
Wed, 31 Jan 2018 10:49:19 +0000 (02:49 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 6 Feb 2018 04:30:40 +0000 (04:30 +0000)
commit8059dbbe97a61e287efe0ae9d1f7767d362aa2d7
tree03d65fc7660c46cf7879ca3321d323237145fbd6
parentf6329102615e111490c7955a0a9e8b8610f8a244
LU-10554 lnet: Remove LASSERT on userspace data

If the net information is not provided while adding
NI, it results in an LBUG. Remove the LASSERT on
userspace input and handle it gracefully.

Test-Parameters: trivial
Change-Id: I9d2b6f94cb35e94bc81d5c52936d32cbf833e597
Signed-off-by: Sonia Sharma <sonia.sharma@intel.com>
Reviewed-on: https://review.whamcloud.com/31100
Tested-by: Jenkins
Reviewed-by: Amir Shehata <amir.shehata@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/lnet/api-ni.c