X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fnng%2Fsrc%2Fmt_call_nng_static.c;h=325b313cd0a60e951fe4f64e9bf6425fad61d8b0;hb=a7193022969bafe1ade8ee5032f1f41d79018404;hp=2ef21f67066bde68c8fc1308817edb721fc62f78;hpb=85c5bf71db97dc7c4f15bd170b17c85e53ee0f24;p=ric-plt%2Flib%2Frmr.git diff --git a/src/rmr/nng/src/mt_call_nng_static.c b/src/rmr/nng/src/mt_call_nng_static.c index 2ef21f6..325b313 100644 --- a/src/rmr/nng/src/mt_call_nng_static.c +++ b/src/rmr/nng/src/mt_call_nng_static.c @@ -91,13 +91,8 @@ static void* mt_receive( void* vctx ) { queue_normal( ctx, mbuf ); } else { chute = &ctx->chutes[call_id]; - if( memcmp( mbuf->xaction, chute->expect, RMR_MAX_XID ) == 0 ) { // match - chute->mbuf = mbuf; - sem_post( &chute->barrier ); - } else { - rmr_free_msg( mbuf ); - mbuf = NULL; - } + chute->mbuf = mbuf; + sem_post( &chute->barrier ); // the call function can vet xaction id in their own thread } } }