diff options
author | Zhu Lingshan <lingshan.zhu@intel.com> | 2022-07-22 19:53:04 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-08-11 04:26:08 -0400 |
commit | 0d6e5e8d1686ce5d055c5ecaa76e5f51609ce9da (patch) | |
tree | f00e76993fff19f4d754ca8b58bd4b72cfb99801 /crypto/aes_ti.c | |
parent | f49c2226af8444563897e25bf293ea29e377995a (diff) | |
download | linux-0d6e5e8d1686ce5d055c5ecaa76e5f51609ce9da.tar.bz2 |
vDPA/ifcvf: get_config_size should return a value no greater than dev implementation
Drivers must not access a BAR outside the capability length,
and for a virtio device, ifcvf driver should not report any non-standard
capability contents to the upper layers.
Function ifcvf_get_config_size() is introduced here to return a safe value
of the device config capability size.
Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Message-Id: <20220722115309.82746-2-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'crypto/aes_ti.c')
0 files changed, 0 insertions, 0 deletions