diff options
author | 2025-04-22 12:25:39 +0300 | |
---|---|---|
committer | 2025-04-23 18:48:11 -0700 | |
commit | 6991a975e416154576b0f5f06256aec13e23b0a7 (patch) | |
tree | 47cd623a5679f908dc128f405bbcb8c85e799032 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx5: HWS, Fix IP version decision (diff) | |
download | wireguard-linux-6991a975e416154576b0f5f06256aec13e23b0a7.tar.xz wireguard-linux-6991a975e416154576b0f5f06256aec13e23b0a7.zip |
net/mlx5: HWS, Harden IP version definer checks
Replicate some sanity checks that firmware does, since hardware steering
does not go through firmware.
When creating a definer, disallow matching on IP addresses without also
matching on IP version. The latter can be satisfied by matching either
on the version field in the IP header, or on the ethertype field.
Also refuse to match IPv4 IHL alongside IPv6.
Signed-off-by: Vlad Dogaru <vdogaru@nvidia.com>
Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Link: https://patch.msgid.link/20250422092540.182091-3-mbloch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions