diff options
author | 2022-12-03 14:13:23 -0800 | |
---|---|---|
committer | 2022-12-08 13:04:26 -0800 | |
commit | 5a5624d1edf44e808481dedaf59eae61fd66e052 (patch) | |
tree | 2c6623030d93e141ba4423b690903511ad6902a0 /net/core/sock.c | |
parent | net: dsa: microchip: add stats64 support for ksz8 series of switches (diff) | |
download | wireguard-linux-5a5624d1edf44e808481dedaf59eae61fd66e052.tar.xz wireguard-linux-5a5624d1edf44e808481dedaf59eae61fd66e052.zip |
net/mlx5e: E-Switch, handle flow attribute with no destinations
Rules with drop action are not required to have a destination.
Currently the destination list is allocated with the maximum number of
destinations and passed to the fs_core layer along with the actual number
of destinations.
Remove redundant passing of dest pointer when count of dest is 0.
Signed-off-by: Oz Shlomo <ozsh@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Link: https://lore.kernel.org/r/20221203221337.29267-2-saeed@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions