diff options
author | Gal Pressman <gal@nvidia.com> | 2021-12-13 11:05:11 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-12-22 20:38:48 -0800 |
commit | a0cb909644c36230a3c48904d14b91732de79fc0 (patch) | |
tree | 571b6f283756bba26c172deb49e13506b5ecb4a3 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 918fc3855a6507a200e9cf22c20be852c0982687 (diff) |
net/mlx5e: Fix skb memory leak when TC classifier action offloads are disabled
When TC classifier action offloads are disabled (CONFIG_MLX5_CLS_ACT in
Kconfig), the mlx5e_rep_tc_receive() function which is responsible for
passing the skb to the stack (or freeing it) is defined as a nop, and
results in leaking the skb memory. Replace the nop with a call to
napi_gro_receive() to resolve the leak.
Fixes: 28e7606fa8f1 ("net/mlx5e: Refactor rx handler of represetor device")
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Ariel Levkovich <lariel@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions