[ovs-git] [openvswitch/ovs] 742eea: erspan: set erspan_ver to 1 by default when adding...
GitHub
noreply at github.com
Thu Sep 6 22:58:34 UTC 2018
Branch: refs/heads/branch-2.10
Home: https://github.com/openvswitch/ovs
Commit: 742eea34c06bb1c752cf0025601b1b0d35b45950
https://github.com/openvswitch/ovs/commit/742eea34c06bb1c752cf0025601b1b0d35b45950
Author: Xin Long <lucien.xin at gmail.com>
Date: 2018-09-06 (Thu, 06 Sep 2018)
Changed paths:
M datapath/linux/compat/ip6_gre.c
M datapath/linux/compat/ip_gre.c
Log Message:
-----------
erspan: set erspan_ver to 1 by default when adding an erspan dev
Upstream commit:
commit 84581bdae9587023cea1d139523f0ef0f28bd88d
Author: Xin Long <lucien.xin at gmail.com>
Date: Mon Aug 27 18:41:32 2018 +0800
erspan: set erspan_ver to 1 by default when adding an erspan dev
After erspan_ver is introudced, if erspan_ver is not set in iproute, its
value will be left 0 by default. Since Commit 02f99df1875c ("erspan: fix
invalid erspan version."), it has broken the traffic due to the version
check in erspan_xmit if users are not aware of 'erspan_ver' param, like
using an old version of iproute.
To fix this compatibility problem, it sets erspan_ver to 1 by default
when adding an erspan dev in erspan_setup. Note that we can't do it in
ipgre_netlink_parms, as this function is also used by ipgre_changelink.
Fixes: 02f99df1875c ("erspan: fix invalid erspan version.")
Reported-by: Jianlin Shi <jishi at redhat.com>
Signed-off-by: Xin Long <lucien.xin at gmail.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
Fixes: 5e720da59d ("erspan: fix invalid erspan version.")
Cc: Xin Long <lucien.xin at gmail.com>
Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git
mailing list