summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorIlan Tayari <ilant@mellanox.com>2017-07-05 10:17:04 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-07-27 16:40:16 +0300
commit0242f4a0bb03906010bbf80495512be00494a0ef (patch)
tree9e27a57fb247d6a2c40a9d34d14261cd3a78e262 /include/linux/mlx5
parent58569ef8f619761548e7d198f59e8ebe3af91d04 (diff)
downloadop-kernel-dev-0242f4a0bb03906010bbf80495512be00494a0ef.zip
op-kernel-dev-0242f4a0bb03906010bbf80495512be00494a0ef.tar.gz
net/mlx5e: Fix outer_header_zero() check size
outer_header_zero() routine checks if the outer_headers match of a flow-table entry are all zero. This function uses the size of whole fte_match_param, instead of just the outer_headers member, causing failure to detect all-zeros if any other members of the fte_match_param are non-zero. Use the correct size for zero check. Fixes: 6dc6071cfcde ("net/mlx5e: Add ethtool flow steering support") Signed-off-by: Ilan Tayari <ilant@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud