diff options
author | Vijaya Mohan Guvva <vmohan@brocade.com> | 2013-11-21 09:37:49 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-12 06:37:53 (GMT) |
commit | 1b1dd81ce7cadac3aada70fb7c5208748c28623f (patch) | |
tree | c206dab03b5815e574018cac79f202bdf15fa873 /drivers/scsi/bfa/bfa_svc.h | |
parent | e25c1306c5780fa6108fb0180ba31ace928bc593 (diff) | |
download | linux-fsl-qoriq-1b1dd81ce7cadac3aada70fb7c5208748c28623f.tar.xz |
SCSI: bfa: Fix crash when symb name set for offline vport
commit 22a08538dca5c0630226f1c0c58dccd12e463d22 upstream.
This patch fixes a crash when tried setting symbolic name for an offline
vport through sysfs. Crash is due to uninitialized pointer lport->ns,
which gets initialized only on linkup (port online).
Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/bfa/bfa_svc.h')
0 files changed, 0 insertions, 0 deletions