diff options
| author | Danielle Ratson <[email protected]> | 2019-09-26 11:43:40 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-09-27 18:33:19 +0000 |
| commit | 52feb8b588f6d23673dd7cc2b44b203493b627f6 (patch) | |
| tree | 659187395bef3c1b7b049e533e426d0a34ee6597 /net/ipv4/tcp_timer.c | |
| parent | Documentation: Clarify trap's description (diff) | |
| download | kernel-52feb8b588f6d23673dd7cc2b44b203493b627f6.tar.gz kernel-52feb8b588f6d23673dd7cc2b44b203493b627f6.zip | |
mlxsw: spectrum_flower: Fail in case user specifies multiple mirror actions
The ASIC can only mirror a packet to one port, but when user is trying
to set more than one mirror action, it doesn't fail.
Add a check if more than one mirror action was specified per rule and if so,
fail for not being supported.
Fixes: d0d13c1858a11 ("mlxsw: spectrum_acl: Add support for mirror action")
Signed-off-by: Danielle Ratson <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions
