diff options
| author | Ido Schimmel <[email protected]> | 2020-07-14 17:20:58 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-07-14 14:50:49 -0700 |
| commit | 6edc8beab443ec23d10e489007b4e94d9a05846d (patch) | |
| tree | e08839f1945300a733455476a8078448c43f4b83 /tools/perf/scripts/python | |
| parent | f4a626e2ca09aeffd30509349759fb30379fe83f (diff) | |
mlxsw: spectrum_span: Do not dereference destination netdev
Currently, the destination netdev to which we mirror must be a valid
netdev. However, this is going to change with the introduction of
mirroring towards the CPU port, as the CPU port does not have a backing
netdev.
Avoid dereferencing the destination netdev when it is not clear if it is
valid or not.
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: Petr Machata <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions