diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-01-26 11:49:08 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-02-04 19:55:34 +0100 |
commit | b44a2b6790b04621c14de176757a09193699bc37 (patch) | |
tree | 1de060ea8313627641247fcfce95cda37d84c90a /drivers/vhost | |
parent | iscsi-target: Don't over-allocate sendtargets text resp buffer (diff) | |
download | linux-b44a2b6790b04621c14de176757a09193699bc37.tar.xz linux-b44a2b6790b04621c14de176757a09193699bc37.zip |
iser-target: Fix wrong allocation in the case of an empty text message
if text message dlength is 0, don't allocate a buffer for it, pass
NULL to iscsit_process_text_cmd.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions