diff options
author | Yi-Hung Wei <[email protected]> | 2020-11-10 16:16:40 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-13 16:58:10 -0800 |
commit | 9c2e14b48119b39446031d29d994044ae958d8fc (patch) | |
tree | f349c13f6a81d620761e2023064211cefda19592 /lib/mpi/mpi-cmp.c | |
parent | 81e329e93b860b31c216b40eb5e1373db0ffe0ba (diff) |
ip_tunnels: Set tunnel option flag when tunnel metadata is present
Currently, we may set the tunnel option flag when the size of metadata
is zero. For example, we set TUNNEL_GENEVE_OPT in the receive function
no matter the geneve option is present or not. As this may result in
issues on the tunnel flags consumers, this patch fixes the issue.
Related discussion:
* https://lore.kernel.org/netdev/[email protected]/T/#u
Fixes: 256c87c17c53 ("net: check tunnel option type in tunnel flags")
Signed-off-by: Yi-Hung Wei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions