diff options
| author | Ido Schimmel <[email protected]> | 2021-03-22 15:58:44 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-22 20:45:46 +0000 |
| commit | c6a5011bec0962cfddcce48065e29c65e9a6ec18 (patch) | |
| tree | a206f909baa1ad283a1c88c43603672c97170781 /net/lapb/lapb_in.c | |
| parent | mlxsw: spectrum_router: Consolidate nexthop helpers (diff) | |
| download | kernel-c6a5011bec0962cfddcce48065e29c65e9a6ec18.tar.gz kernel-c6a5011bec0962cfddcce48065e29c65e9a6ec18.zip | |
mlxsw: spectrum_router: Only provide MAC address for valid nexthops
The helper returns the MAC address associated with the nexthop. It is
only valid when the nexthop forwards packets and when it is an Ethernet
nexthop. Reflect this in the checks the helper is performing.
This is not an issue because the sole caller of the function only
invokes it for such nexthops.
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
