]> git.proxmox.com Git - ovs.git/commit
compat: Allow IPv6 GRE/ERSPAN Tx when ip6_gre is loaded
authorGreg Rose <gvrose8192@gmail.com>
Fri, 27 Jul 2018 18:20:08 +0000 (11:20 -0700)
committerBen Pfaff <blp@ovn.org>
Fri, 27 Jul 2018 19:29:16 +0000 (12:29 -0700)
commit2671254df1b14d5fdff7ab3b717f96f3f878c9fc
treef9e0406202cb8ab4431b330736180f02e8f6b7e8
parent121905984724b409616f9b5af2d60ee460bbbdcf
compat: Allow IPv6 GRE/ERSPAN Tx when ip6_gre is loaded

When for some reason the built-in kernel ip6_gre module is loaded that
would prevent the openvswitch kernel driver from loading.  Even when
the built-in kernel ip6_gre module is loaded we can still perform
port mirroring via Tx.  Adjust the error handling and detect when
the ip6_gre kernel module is loaded and in that case still enable
IPv6 GRE/ERSPAN Tx.

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