]> git.proxmox.com Git - ovs.git/commit
datapath: Check if gre kernel module is loaded
authorGreg Rose <gvrose8192@gmail.com>
Wed, 6 Jun 2018 22:23:28 +0000 (15:23 -0700)
committerBen Pfaff <blp@ovn.org>
Thu, 7 Jun 2018 16:49:17 +0000 (09:49 -0700)
commitf9558fb66a0c1526f357f5213043db978f232666
tree3b7dd6381c98b9ed62d4c106a7f4a7f296d4ae73
parent0d08baa59b7d251fb943bc578b98fd9269df10f2
datapath: Check if gre kernel module is loaded

Before attempting to add a gre tunnel to OVS via the vport gre
kernel interface make sure that the openvswitch kernel module has
been able to grab the gre protocol entry point.  If OVS does not
own the gre protocol then report address family not supported.

Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
datapath/vport.c