commit | a683012a8e77675a1947cc8f11f97cdc1d5bb769 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Sun Apr 19 14:12:35 2020 +0200 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri May 29 13:07:54 2020 -0700 |
tree | d73579454faec06a85763bf7bd1fb87cf1d7179b | |
parent | cb9a0641b531ac11cd7e3076de23ceada19b892e [diff] |
net/mlx5e: replace EINVAL in mlx5e_flower_parse_meta() The drivers reports EINVAL to userspace through netlink on invalid meta match. This is confusing since EINVAL is usually reserved for malformed netlink messages. Replace it by more meaningful codes. Fixes: 6d65bc64e232 ("net/mlx5e: Add mlx5e_flower_parse_meta support") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>