[ovs-git] [openvswitch/ovs] 629e14: linux: Assume it is local if no API is available.

GitHub noreply at github.com
Thu Jun 14 23:08:42 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 629e1476b1799a07829b3b25fc676357bebccb76
      https://github.com/openvswitch/ovs/commit/629e1476b1799a07829b3b25fc676357bebccb76
  Author: Flavio Leitner <fbl at redhat.com>
  Date:   2018-06-14 (Thu, 14 Jun 2018)

  Changed paths:
    M lib/netdev-linux.c

  Log Message:
  -----------
  linux: Assume it is local if no API is available.

If the 'openvswitch' kernel module is not loaded, the API is not
available and the userspace will keep retrying. This approach is
not ideal for the netdev datapath type.

This patch disables network netns support if the error code returned
indicates that the API is not available.

Reported-by: Eelco Chaudron <echaudro at redhat.com>
Signed-off-by: Flavio Leitner <fbl at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
Acked-by: Eelco Chaudron <echaudro at redhat.com>
Tested-by: Eelco Chaudron <echaudro at redhat.com>



      **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