[ovs-dev] [PATCHv3] datapath: work around the single GRE receive limitation.

Ben Pfaff blp at ovn.org
Wed Jul 11 17:03:02 UTC 2018


On Wed, Jul 11, 2018 at 09:45:08AM -0700, William Tu wrote:
> Commit 9f57c67c379d ("gre: Remove support for sharing GRE protocol hook")
> allows only single GRE packet receiver.  When upstream kernel's gre module
> is loaded, the gre.ko exclusively becomes the only gre packet receiver,
> preventing OVS kernel module from registering another gre receiver.
> 
> We can either try to unload the gre.ko by removing its dependencies,
> or, in this patch, we try to register OVS as only the GRE transmit
> portion when detecting there already exists another GRE receiver.
> 
> Signed-off-by: William Tu <u9012063 at gmail.com>
> Tested-by: Greg Rose <gvrose8192 at gmail.com>
> Reviewed-by: Greg Rose <gvrose8192 at gmail.com>
> Cc: Greg Rose <gvrose8192 at gmail.com>
> Cc: Yifeng Sun <pkusunyifeng at gmail.com>
> ---
> v1->v2: improve warnning message

Applied to master.  Thanks William (and everyone who reviewed and tested)!


More information about the dev mailing list