[ovs-git] Open vSwitch: Diagnose attempts to connect the wrong protocol to a network port. (master)

dev at openvswitch.org dev at openvswitch.org
Tue May 11 18:52:52 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  1e3c004749e1e0498dac6240b6edda472718dde2 (commit)
       via  c088c3be069e991e2d8a3acfdcbb9af278c6d5e5 (commit)
      from  f7cf2ff0b63dc76af9358282dcbe81e9433a94ae (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1e3c004749e1e0498dac6240b6edda472718dde2
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1e3c004749e1e0498dac6240b6edda472718dde2
Author: Ben Pfaff <blp at nicira.com>
		
Diagnose attempts to connect the wrong protocol to a network port.
		
Sometimes, when a user asks me to help debug a problem, it turns out that
an SSL connection was being made on a TCP port, or vice versa, or that an
OpenFlow connection was being made on a JSON-RPC port, or vice versa, and
so on.  This commit adds log messages that diagnose this kind of problem,
e.g. "tcp:127.0.0.1:6633: received JSON-RPC data on OpenFlow channel".


commit c088c3be069e991e2d8a3acfdcbb9af278c6d5e5
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c088c3be069e991e2d8a3acfdcbb9af278c6d5e5
Author: Ben Pfaff <blp at nicira.com>
		
vconn-stream: Refactor vconn_stream_recv() for readability.
		
Backward "goto" statement are rarely a good idea, so this rewrites that
code for readability.


-----------------------------------------------------------------------

Summary of changes:
 lib/jsonrpc.c      |    6 +++
 lib/stream-ssl.c   |   14 ++++++++
 lib/stream.c       |   61 +++++++++++++++++++++++++++++++++
 lib/stream.h       |   13 +++++++
 lib/vconn-stream.c |   95 +++++++++++++++++++++++++++++----------------------
 5 files changed, 148 insertions(+), 41 deletions(-)


hooks/post-receive
-- 
Open vSwitch




More information about the git mailing list