aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strscpy.c
diff options
context:
space:
mode:
authorAhmed Zaki <[email protected]>2024-06-14 07:18:42 -0600
committerTony Nguyen <[email protected]>2024-07-23 15:26:41 -0700
commit6ebbe97a488179f5dc85f2f1e0c89b486e99ee97 (patch)
treeb2af4165ff72155aea1fcc54717c30a5543f1767 /lib/test_fortify/write_overflow-strscpy.c
parent3ba359c0cd6eb5ea772125a7aededb4a2d516684 (diff)
ice: Add a per-VF limit on number of FDIR filters
While the iavf driver adds a s/w limit (128) on the number of FDIR filters that the VF can request, a malicious VF driver can request more than that and exhaust the resources for other VFs. Add a similar limit in ice. CC: [email protected] Fixes: 1f7ea1cd6a37 ("ice: Enable FDIR Configure for AVF") Reviewed-by: Przemek Kitszel <[email protected]> Suggested-by: Sridhar Samudrala <[email protected]> Signed-off-by: Ahmed Zaki <[email protected]> Reviewed-by: Wojciech Drewek <[email protected]> Tested-by: Rafal Romanowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions