]> asedeno.scripts.mit.edu Git - linux.git/commit
mlxsw: spectrum_flower: Forbid to offload match on reserved TCP flags bits
authorJiri Pirko <jiri@mellanox.com>
Sat, 27 Jul 2019 17:32:57 +0000 (20:32 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Jul 2019 21:32:31 +0000 (14:32 -0700)
commit7079676d0931e30f4f4949d1580fc87fde4ddc5b
tree46d6c13fe92bfff31e17fc34dbd1061fa668f2ba
parentc9588e28123c563a355964c6ee8ca5dd28aebd6a
mlxsw: spectrum_flower: Forbid to offload match on reserved TCP flags bits

Matching on reserved TCP flags bits is only supported using custom
parser. Since the usecase for that is not known now, just forbid to
offload rules that match on these bits.

Reported-by: Alex Kushnarov <alexanderk@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c