diff options
author | 2024-11-04 16:57:04 +0800 | |
---|---|---|
committer | 2024-11-07 12:40:10 +0100 | |
commit | 3f7d9c1964fcd16d02a8a9d4fd6f6cb60c4cc530 (patch) | |
tree | e4642574b5a248bd2215254a50877259f8ad363d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | virtio_net: Support dynamic rss indirection table size (diff) | |
download | wireguard-linux-3f7d9c1964fcd16d02a8a9d4fd6f6cb60c4cc530.tar.xz wireguard-linux-3f7d9c1964fcd16d02a8a9d4fd6f6cb60c4cc530.zip |
virtio_net: Add hash_key_length check
Add hash_key_length check in virtnet_probe() to avoid possible out of
bound errors when setting/reading the hash key.
Fixes: c7114b1249fa ("drivers/net/virtio_net: Added basic RSS support.")
Signed-off-by: Philo Lu <lulie@linux.alibaba.com>
Signed-off-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Joe Damato <jdamato@fastly.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions