diff options
author | Jörn Engel <joern@logfs.org> | 2012-02-15 16:52:11 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-02-25 14:37:50 -0800 |
commit | 47f1b8803e1e358ebbf4f82bfdb98971c912a2c3 (patch) | |
tree | c5d85478fb2c7245a819b707adc7fca2b926b4c3 /Documentation/stable_api_nonsense.txt | |
parent | 382436f8804fe1cb20b9a2a811a10eb2d8554721 (diff) | |
download | blackbird-op-linux-47f1b8803e1e358ebbf4f82bfdb98971c912a2c3.tar.gz blackbird-op-linux-47f1b8803e1e358ebbf4f82bfdb98971c912a2c3.zip |
target: prevent NULL pointer dereference in target_report_luns
transport_kmap_data_sg can return NULL. I never saw this trigger, but
returning -ENOMEM seems better than a crash. Also removes a pointless
case while at it.
Signed-off-by: Joern Engel <joern@logfs.org>
Cc: stable@vger.kernel.org
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'Documentation/stable_api_nonsense.txt')
0 files changed, 0 insertions, 0 deletions