projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b9a3d5
)
jsonrpc: Correctly setting the dscp value before reconnect.
author
Mehak Mahajan
<mmahajan@nicira.com>
Wed, 20 Jun 2012 03:13:19 +0000
(20:13 -0700)
committer
Mehak Mahajan
<mmahajan@nicira.com>
Wed, 20 Jun 2012 03:13:19 +0000
(20:13 -0700)
In commit b2e18d(No need to restart DB / OVS on changing dscp value.), the
dscp value was wrongly set after the reconnect.
Signed-off-by: Mehak Mahajan <mmahajan@nicira.com>
Reported-by: Ravi Kerur <rkerur@gmail.com>
lib/jsonrpc.c
patch
|
blob
|
history
diff --git
a/lib/jsonrpc.c
b/lib/jsonrpc.c
index ce5d2b4b627fddbe19b8ae44e3c0b54318737f25..4870da842627b94f05919919d410f7f6360d0847 100644
(file)
--- a/
lib/jsonrpc.c
+++ b/
lib/jsonrpc.c
@@
-1059,7
+1059,7
@@
jsonrpc_session_set_dscp(struct jsonrpc_session *s,
uint8_t dscp)
{
if (s->dscp != dscp) {
- jsonrpc_session_force_reconnect(s);
s->dscp = dscp;
+ jsonrpc_session_force_reconnect(s);
}
}