[ovs-git] [openvswitch/ovs] 8de03c: datapath: work around the single GRE receive limit...

GitHub noreply at github.com
Wed Jul 11 17:02:49 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 8de03c61a346a6e6fe3a8c5ecf961749b6aee4f2
      https://github.com/openvswitch/ovs/commit/8de03c61a346a6e6fe3a8c5ecf961749b6aee4f2
  Author: William Tu <u9012063 at gmail.com>
  Date:   2018-07-11 (Wed, 11 Jul 2018)

  Changed paths:
    M datapath/linux/compat/ip_gre.c
    M datapath/vport.c

  Log Message:
  -----------
  datapath: work around the single GRE receive limitation.

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>
Signed-off-by: Ben Pfaff <blp at ovn.org>



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list