Commit bf8af9c
committed
net/mlx5e: Fix features validation check for tunneled UDP (non-VXLAN) packets
jira LE-1733
bugfix geneve_fixes
commit 791b408
Move the vxlan_features_check() call to after we verified the packet is
a tunneled VXLAN packet.
Without this, tunneled UDP non-VXLAN packets (for ex. GENENVE) might
wrongly not get offloaded.
In some cases, it worked by chance as GENEVE header is the same size as
VXLAN, but it is obviously incorrect.
Fixes: e3cfc7e ("net/mlx5e: TX, Add geneve tunnel stateless offload support")
Signed-off-by: Gal Pressman <[email protected]>
Reviewed-by: Dragos Tatulea <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Reviewed-by: Wojciech Drewek <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
(cherry picked from commit 791b408)
Signed-off-by: Jonathan Maple <[email protected]>1 parent 2139581 commit bf8af9c
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4424 | 4424 | | |
4425 | 4425 | | |
4426 | 4426 | | |
4427 | | - | |
| 4427 | + | |
4428 | 4428 | | |
4429 | 4429 | | |
4430 | 4430 | | |
| |||
4450 | 4450 | | |
4451 | 4451 | | |
4452 | 4452 | | |
4453 | | - | |
4454 | 4453 | | |
4455 | 4454 | | |
4456 | 4455 | | |
| |||
0 commit comments