diff options
author | 2021-03-22 17:58:46 +0200 | |
---|---|---|
committer | 2021-03-22 13:45:46 -0700 | |
commit | 031d5c16065606efc387aa6865690037c13cefc4 (patch) | |
tree | a56be5f0226bdb80c5b2451f809ba36743794112 /net/lapb/lapb_timer.c | |
parent | mlxsw: spectrum_router: Adjust comments on nexthop fields (diff) | |
download | wireguard-linux-031d5c16065606efc387aa6865690037c13cefc4.tar.xz wireguard-linux-031d5c16065606efc387aa6865690037c13cefc4.zip |
mlxsw: spectrum_router: Introduce nexthop action field
Currently, the action associated with the nexthop is assumed to be
'forward' unless the 'discard' bit is set.
Instead, simplify this by introducing a dedicated field to represent the
action of the nexthop. This will allow us to more easily introduce more
actions, such as trap.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions