[PATCH 29/47] staging/lustre/lnet: lnet: fix issues found by Klocwork Insight tool

2014-04-27 Thread Oleg Drokin
From: Dmitry Eremin dmitry.ere...@intel.com Null pointer 'cp' that comes from line 2544 may be dereferenced at line 2618. Pointer 'ni' checked for NULL at line 1569 may be passed to function and may be dereferenced there by passing argument 1 to function 'lnet_ni_notify_locked' at line 1621.

Re: [PATCH 29/47] staging/lustre/lnet: lnet: fix issues found by Klocwork Insight tool

2014-04-27 Thread Greg Kroah-Hartman
On Sun, Apr 27, 2014 at 01:06:53PM -0400, Oleg Drokin wrote: From: Dmitry Eremin dmitry.ere...@intel.com Null pointer 'cp' that comes from line 2544 may be dereferenced at line 2618. Pointer 'ni' checked for NULL at line 1569 may be passed to function and may be dereferenced there by