[ovs-git] [openvswitch/ovs] ac4285: ovs-ofctl: Fix "ovs-ofctl snoop".

GitHub noreply at github.com
Wed Apr 25 19:46:43 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: ac4285f4d4fb4067b06d69fcc7ca35d28d4977a9
      https://github.com/openvswitch/ovs/commit/ac4285f4d4fb4067b06d69fcc7ca35d28d4977a9
  Author: Ashish Varma <ashishvarma.ovs at gmail.com>
  Date:   2018-04-25 (Wed, 25 Apr 2018)

  Changed paths:
    M utilities/ovs-ofctl.c

  Log Message:
  -----------
  ovs-ofctl: Fix "ovs-ofctl snoop".

In case where "use_names" is set (e.g. in an interactive session) to show
the port and table names when ovs-ofctl is run with snoop command,
ovs-ofctl would get stuck in an endless loop inside "table_iterator_next"
function's while loop checking for "while (ti->send_xid != recv_xid)".
This would happening because the "vconn" to "<bridge>.snoop" socket would
not respond to TABLE_FEATURES_REQUEST sent by ovs-ofctl.

This commit disables showing port or table names in the snoop command.

Signed-off-by: Ashish Varma <ashishvarma.ovs at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list