diff options
author | Yunjian Wang <wangyunjian@huawei.com> | 2017-12-04 14:02:19 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-02-25 11:08:00 +0100 |
commit | f04764307af8ae268b133c5066068246574a3e39 (patch) | |
tree | a03313548678c35198b65fed69dd2ed9b49e1df3 /Documentation/lsm.txt | |
parent | 64313a130c3d79561b55a9d82e5b3ffb9353b824 (diff) |
virtio_net: fix return value check in receive_mergeable()
[ Upstream commit 03e9f8a05bce7330bcd9c5cc54c8e42d0fcbf993 ]
The function virtqueue_get_buf_ctx() could return NULL, the return
value 'buf' need to be checked with NULL, not value 'ctx'.
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/lsm.txt')
0 files changed, 0 insertions, 0 deletions