[ovs-git] [openvswitch/ovs] f74082: jsonrpc: Don't assert for 0 remotes in jsonrpc_ses...

Ben Pfaff noreply at github.com
Mon Jun 29 17:40:51 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: f740828d82234ccd026fcbc9a49d230d72667330
      https://github.com/openvswitch/ovs/commit/f740828d82234ccd026fcbc9a49d230d72667330
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2020-06-29 (Mon, 29 Jun 2020)

  Changed paths:
    M lib/jsonrpc.c

  Log Message:
  -----------
  jsonrpc: Don't assert for 0 remotes in jsonrpc_session_open_multiple().

It's pretty easy to get 0 remotes here from ovn-northd if you specify
--ovnnb-db='' or --ovnnb-db='   ' on the command line.  The internals
of jsonrpc_session aren't equipped to cope with that, so just add a
dummy remote instead.

Acked-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list