diff options
author | Chris Mi <[email protected]> | 2023-04-11 11:17:35 +0300 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2023-06-16 12:59:19 -0700 |
commit | b100573ab76ee5b0cb8f9129b568d9e7da795f76 (patch) | |
tree | ce2d7830e6330dc4411fbed8b524a9b270569102 /scripts/generate_rust_analyzer.py | |
parent | 0ab999d4a1bfe8251538be1e7e495c50433475a8 (diff) |
net/mlx5e: TC, Add null pointer check for hardware miss support
The cited commits add hardware miss support to tc action. But if
the rules can't be offloaded, the pointers are null and system
will panic when accessing them.
Fix it by checking null pointer.
Fixes: 08fe94ec5f77 ("net/mlx5e: TC, Remove special handling of CT action")
Fixes: 6702782845a5 ("net/mlx5e: TC, Set CT miss to the specific ct action instance")
Signed-off-by: Chris Mi <[email protected]>
Reviewed-by: Paul Blakey <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions