diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-12-29 13:40:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-04 19:18:57 +0100 |
commit | 29e92a154df20a1199a3e0737699b797511eb6ba (patch) | |
tree | cb2576fba71d1d2e180ed70fad42abc01442bac5 /block/blk-iocost.c | |
parent | 1a54f9b5729dd88d356c57e2e957fa9533a2dbb5 (diff) |
mlxsw: spectrum: Use dedicated policer for VRRP packets
[ Upstream commit acca789a358cc960be3937851d7de6591c79d6c2 ]
Currently, VRRP packets and packets that hit exceptions during routing
(e.g., MTU error) are policed using the same policer towards the CPU.
This means, for example, that misconfiguration of the MTU on a routed
interface can prevent VRRP packets from reaching the CPU, which in turn
can cause the VRRP daemon to assume it is the Master router.
Fix this by using a dedicated policer for VRRP packets.
Fixes: 11566d34f895 ("mlxsw: spectrum: Add VRRP traps")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reported-by: Alex Veber <alexve@mellanox.com>
Tested-by: Alex Veber <alexve@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk-iocost.c')
0 files changed, 0 insertions, 0 deletions