diff options
author | William Tu <u9012063@gmail.com> | 2020-05-12 10:36:23 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-13 12:50:17 +0200 |
commit | 584661cc24d740bc0d68b605e7089d80a99bba9d (patch) | |
tree | 0c67f78a78fdeafc39b81898e4edcb548fbd203c /net/bridge/br_forward.c | |
parent | cc065e1b11a270ebd2b18bbe61f0d6cc8efaa15d (diff) | |
download | linux-stable-584661cc24d740bc0d68b605e7089d80a99bba9d.tar.gz linux-stable-584661cc24d740bc0d68b605e7089d80a99bba9d.tar.bz2 linux-stable-584661cc24d740bc0d68b605e7089d80a99bba9d.zip |
erspan: Check IFLA_GRE_ERSPAN_VER is set.
commit 51fa960d3b5163b1af22efdebcabfccc5d615ad6 upstream.
Add a check to make sure the IFLA_GRE_ERSPAN_VER is provided by users.
Fixes: f989d546a2d5 ("erspan: Add type I version 0 support.")
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: William Tu <u9012063@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/bridge/br_forward.c')
0 files changed, 0 insertions, 0 deletions