summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorHangbin Liu <liuhangbin@gmail.com>2022-12-03 11:28:58 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-13 12:50:17 +0200
commitcb2dd30f318974cc640f1b1929f501ea9cb94bd5 (patch)
tree65bbaa2c0d744cf435d91cdeaefe970c87574114 /Kbuild
parent584661cc24d740bc0d68b605e7089d80a99bba9d (diff)
downloadlinux-stable-cb2dd30f318974cc640f1b1929f501ea9cb94bd5.tar.gz
linux-stable-cb2dd30f318974cc640f1b1929f501ea9cb94bd5.tar.bz2
linux-stable-cb2dd30f318974cc640f1b1929f501ea9cb94bd5.zip
ip_gre: do not report erspan version on GRE interface
commit ee496694b9eea651ae1aa4c4667d886cdf74aa3b upstream. 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 <jishi@redhat.com> Fixes: f989d546a2d5 ("erspan: Add type I version 0 support.") Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Acked-by: William Tu <u9012063@gmail.com> Link: https://lore.kernel.org/r/20221203032858.3130339-1-liuhangbin@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions