summaryrefslogtreecommitdiff
path: root/lib/generic-radix-tree.c
diff options
context:
space:
mode:
authorStefano Garzarella <sgarzare@redhat.com>2019-12-06 17:39:12 +0300
committerDavid S. Miller <davem@davemloft.net>2019-12-07 22:59:51 +0300
commit8a3cc29c316c17de590e3ff8b59f3d6cbfd37b0a (patch)
treec7a7a62ee049ad105dae9ec0ae6943549e375f34 /lib/generic-radix-tree.c
parentfafc5db28a2ff39092bafe8ac9b8b19c4904f633 (diff)
downloadlinux-8a3cc29c316c17de590e3ff8b59f3d6cbfd37b0a.tar.xz
vhost/vsock: accept only packets with the right dst_cid
When we receive a new packet from the guest, we check if the src_cid is correct, but we forgot to check the dst_cid. The host should accept only packets where dst_cid is equal to the host CID. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/generic-radix-tree.c')
0 files changed, 0 insertions, 0 deletions