diff options
author | Hangbin Liu <[email protected]> | 2022-12-03 11:28:58 +0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2022-12-06 11:45:55 +0100 |
commit | ee496694b9eea651ae1aa4c4667d886cdf74aa3b (patch) | |
tree | a887c01d7684ff1983a6396739f39aa8d895dc19 /lib/mpi/mpi-mod.c | |
parent | 23353efc26e98b61b925274ecbb8f0610f69a8aa (diff) |
ip_gre: do not report erspan version on GRE interface
Although the type I ERSPAN is based on the barebones IP + GRE
encapsulation and no extra ERSPAN header. Report erspan version on GRE
interface looks unreasonable. Fix this by separating the erspan and gre
fill info.
IPv6 GRE does not have this info as IPv6 only supports erspan version
1 and 2.
Reported-by: Jianlin Shi <[email protected]>
Fixes: f989d546a2d5 ("erspan: Add type I version 0 support.")
Signed-off-by: Hangbin Liu <[email protected]>
Acked-by: William Tu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions