Files
linux/drivers/net/ethernet/intel
Ahmed Zaki 6ebbe97a48 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: stable@vger.kernel.org
Fixes: 1f7ea1cd6a ("ice: Enable FDIR Configure for AVF")
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Suggested-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Signed-off-by: Ahmed Zaki <ahmed.zaki@intel.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2024-07-23 15:26:41 -07:00
..
2024-07-11 10:05:52 -07:00
2024-07-11 10:05:52 -07:00
2024-07-11 10:05:52 -07:00
2024-07-11 10:05:52 -07:00
2024-07-11 10:05:52 -07:00
2024-07-11 10:05:52 -07:00
2024-07-11 10:05:52 -07:00