summaryrefslogtreecommitdiff
path: root/crypto/rmd160.c
diff options
context:
space:
mode:
authorRoi Dayan <roid@mellanox.com>2017-03-21 15:59:14 +0200
committerDavid S. Miller <davem@davemloft.net>2017-03-22 12:11:12 -0700
commit375f51e2b5b7b9a42b3139aea519cbb1bfc5d6ef (patch)
tree26c87f5a286d8f6289ad158bae4f0955756de1a3 /crypto/rmd160.c
parentd85cdccbb3fe9a632ec9d0f4e4526c8c84fc3523 (diff)
net/mlx5: E-Switch, Don't allow changing inline mode when flows are configured
Changing the eswitch inline mode can potentially cause already configured flows not to match the policy. E.g. set policy L4, add some L4 rules, set policy to L2 --> bad! Hence we disallow it. Keep track of how many offloaded rules are now set and refuse inline mode changes if this isn't zero. Fixes: bffaa916588e ("net/mlx5: E-Switch, Add control for inline mode") Signed-off-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/rmd160.c')
0 files changed, 0 insertions, 0 deletions