https://github.com/torvalds/linux
Revision fdc18e4e4bded2a08638cdcd22dc087a64b9ddad authored by Maor Dickman on 06 January 2022, 12:46:24 UTC, committed by Saeed Mahameed on 24 February 2022, 00:08:19 UTC
Currently offload of rule on bareudp device require tunnel key
in order to match on mpls fields and without it the mpls fields
are ignored, this is incorrect due to the fact udp tunnel doesn't
have key to match on.

Fix by returning error in case flow is matching on tunnel key.

Fixes: 72046a91d134 ("net/mlx5e: Allow to match on mpls parameters")
Signed-off-by: Maor Dickman <maord@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
1 parent c63741b
Raw File
Tip revision: fdc18e4e4bded2a08638cdcd22dc087a64b9ddad authored by Maor Dickman on 06 January 2022, 12:46:24 UTC
net/mlx5e: MPLSoUDP decap, fix check for unsupported matches
Tip revision: fdc18e4
COPYING
The Linux Kernel is provided under:

	SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note

Being under the terms of the GNU General Public License version 2 only,
according with:

	LICENSES/preferred/GPL-2.0

With an explicit syscall exception, as stated at:

	LICENSES/exceptions/Linux-syscall-note

In addition, other licenses may also apply. Please see:

	Documentation/process/license-rules.rst

for more details.

All contributions to the Linux Kernel are subject to this COPYING file.
back to top