diff options
| author | Doug Oucharek <[email protected]> | 2016-06-09 22:45:45 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-06-10 01:33:27 +0000 |
| commit | a9cc4006155a68dd0940728f4f222dd035180904 (patch) | |
| tree | b998a983f32cd735f546673bb37b66d0315e6453 /fs/jbd2/commit.c | |
| parent | Merge tag 'iio-fixes-for-4.7a' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
| download | kernel-a9cc4006155a68dd0940728f4f222dd035180904.tar.gz kernel-a9cc4006155a68dd0940728f4f222dd035180904.zip | |
staging: lustre: lnet: Don't access NULL NI on failure path
In kiblnd_passive_connect(), if we are failing the connection
attempt because we cannot find a valid NI (we have a NULL NI),
we were coring after the "goto fail" because the failure
path was assuming non-NULL NI.
This patch ensures we don't dereference a NULL NI on that
failure path.
Signed-off-by: Doug Oucharek <[email protected]>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8022
Reviewed-on: http://review.whamcloud.com/19614
Reviewed-by: Dmitry Eremin <[email protected]>
Reviewed-by: James Simmons <[email protected]>
Reviewed-by: Matt Ezell <[email protected]>
Reviewed-by: Oleg Drokin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
