aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorYunjian Wang <[email protected]>2017-12-04 06:02:19 +0000
committerMichael S. Tsirkin <[email protected]>2017-12-07 16:34:52 +0000
commit03e9f8a05bce7330bcd9c5cc54c8e42d0fcbf993 (patch)
tree402ab23f3edf73fcea8a110b7176bb9c76e57db1 /net/unix/af_unix.c
parentvirtio_mmio: add cleanup for virtio_mmio_remove (diff)
downloadkernel-03e9f8a05bce7330bcd9c5cc54c8e42d0fcbf993.tar.gz
kernel-03e9f8a05bce7330bcd9c5cc54c8e42d0fcbf993.zip
virtio_net: fix return value check in receive_mergeable()
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 <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions