aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorVincent Whitchurch <[email protected]>2021-07-01 13:46:52 +0200
committerMichael S. Tsirkin <[email protected]>2021-08-11 06:44:23 -0400
commitcb5d2c1f6cc0e5769099a7d44b9d08cf58cae206 (patch)
treeda27808259b428408a686df937051774cee91d6d /net/lapb/lapb_subr.c
parentc8d182bd387a09a8b95303c8086238e8bf61fcfc (diff)
virtio_vdpa: reject invalid vq indices
Do not call vDPA drivers' callbacks with vq indicies larger than what the drivers indicate that they support. vDPA drivers do not bounds check the indices. Signed-off-by: Vincent Whitchurch <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions