]> 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:30:42 +0000 (12:30 -0700)
commit3a6e8c8395e8b04aaa2dc34cf90c93e3577ffcde
tree67f62b5e37af9d71955073da87161b5bcb38b9dd
parent8daf95ba359c27c098752fa87819e8cb1385da27
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