mirror of
https://github.com/schoebel/mars
synced 2025-01-11 17:19:53 +00:00
infra: fix proto_level conditions
This commit is contained in:
parent
48a72c6bb4
commit
e02bd88349
@ -520,6 +520,13 @@ int handler_thread(void *data)
|
||||
|
||||
up(&dent_limit_sem);
|
||||
|
||||
/* Looks strange, but is needed for not triggering
|
||||
* a masked bug in old MARS versions during mixed
|
||||
* updates.
|
||||
*/
|
||||
if (sock->s_common_proto_level >= 2)
|
||||
old_proto_level = sock->s_common_proto_level;
|
||||
|
||||
down(&brick->socket_sem);
|
||||
status = mars_send_dent_list(sock, &handler_global->dent_anchor);
|
||||
up(&brick->socket_sem);
|
||||
|
Loading…
Reference in New Issue
Block a user