]> git.proxmox.com Git - ovs.git/commit
datapath: Do not fail to load on gre protocol conflict
authorGreg Rose <gvrose8192@gmail.com>
Mon, 4 Jun 2018 20:14:38 +0000 (13:14 -0700)
committerBen Pfaff <blp@ovn.org>
Tue, 5 Jun 2018 17:38:06 +0000 (10:38 -0700)
commit9f4aacc3624abec064a970a9cc038f0ee0942896
tree17f89127e61ad8ba6b74e7e1ba79bfb7f34a7cbf
parenta94f9524dbc11c78c83d1a49959497f5e73bf949
datapath: Do not fail to load on gre protocol conflict

The ERSPAN feature depends on the gre kernel module so on systems where
the ERSPAN feature isn't supported the openvswitch kernel module would
attempt to grab the ipv4 GRE protocol entry point and would fail to load
if it could not.

This patch modifies openvswitch to not fail to load when the gre kernel
module is loaded and instead it will print a warning message to the
kernel system log indicating that the ERSPAN feature may not be
available.

We need this patch because users are experiencing failures due to the
conflicts and high priority bugs are resulting.

Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: William Tu <u9012063@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
datapath/linux/compat/gre.c
datapath/vport.c