mirror of
				https://github.com/openvswitch/ovs
				synced 2025-10-29 15:28:56 +00:00 
			
		
		
		
	ovsdb: Make JSON-RPC sessions other than the first work.
The number of open sessions wasn't being tracked properly, so closing a JSON-RPC database session made it impossible to open any more.
This commit is contained in:
		| @@ -263,6 +263,7 @@ ovsdb_jsonrpc_session_open(struct ovsdb_jsonrpc_server *svr, | |||||||
|     s->rpc = jsonrpc_open(stream); |     s->rpc = jsonrpc_open(stream); | ||||||
|     hmap_init(&s->triggers); |     hmap_init(&s->triggers); | ||||||
|     list_init(&s->completions); |     list_init(&s->completions); | ||||||
|  |     svr->n_sessions++; | ||||||
| } | } | ||||||
|  |  | ||||||
| static void | static void | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user