I fixed the warning and bisectability with unit tests. Changes v2 -> v3: - fixed bisectability by squashing, Now unit tests pass. - eliminated a warning - dropped merged patches
Description: When dynamic DSCP change is introduced, passive method (ptcp, pssl) case was't addressed. The result is that servers (ovsdb-server/vswitchd) disconnect accepted sockets. Which means ovsdb-client/ovs-vsctl doesn't work for remote vswitch as below. > # ovs-vsctl set-manager ptcp:6634 > # ovsdb-client get-schema tcp:127.0.0.1:6634 > 2012-09-14T05:38:26Z|00001|jsonrpc|WARN|tcp:127.0.0.1:6634: receive error: > Connection reset by peer > ovsdb-client: transaction failed (Connection reset by peer) This patch series addresses passive method case with DSCP dynamic change and resolves disconnection issues. Isaku Yamahata (2): lib/pstream: add set_dscp method ovsdb/jsonrpc-server: ovsdb-server closes accepted connections immediately lib/jsonrpc.c | 17 ++++++++++++++- lib/jsonrpc.h | 3 +- lib/stream-fd.c | 16 ++++++++++++++- lib/stream-fd.h | 1 + lib/stream-provider.h | 3 ++ lib/stream-ssl.c | 8 +++++++ lib/stream-tcp.c | 6 +++- lib/stream-unix.c | 5 ++- lib/stream.c | 9 ++++++++ lib/stream.h | 1 + ovsdb/jsonrpc-server.c | 21 +++++++++++++++++++- ovsdb/ovsdb-server.c | 1 - tests/ovsdb-server.at | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 13 files changed, 130 insertions(+), 10 deletions(-) _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev