diff options
author | Yevgeny Kliteynik <kliteyn@nvidia.com> | 2022-01-13 13:52:48 +0100 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-02-24 01:08:10 +0100 |
commit | ffb0753b954763d94f52c901adfe58ed0d4005e6 (patch) | |
tree | a21e1f7808a738e5319f6fbee1880da9e533e52d /drivers/scsi/fnic | |
parent | net/mlx5: DR, Fix slab-out-of-bounds in mlx5_cmd_dr_create_fte (diff) | |
download | linux-ffb0753b954763d94f52c901adfe58ed0d4005e6.tar.xz linux-ffb0753b954763d94f52c901adfe58ed0d4005e6.zip |
net/mlx5: DR, Don't allow match on IP w/o matching on full ethertype/ip_version
Currently SMFS allows adding rule with matching on src/dst IP w/o matching
on full ethertype or ip_version, which is not supported by HW.
This patch fixes this issue and adds the check as it is done in DMFS.
Fixes: 26d688e33f88 ("net/mlx5: DR, Add Steering entry (STE) utilities")
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/scsi/fnic')
0 files changed, 0 insertions, 0 deletions