if (call->data_count <= 0 && call->more_recv)
return 0;
} else if (call->data_count < call->need_size) {
- if (!(msg.msg_flags & MSG_MORE)) {
+ if (!call->more_recv) {
/* Short data */
+ debug("SHORT %u < %x\n", call->data_count, call->need_size);
call->error_code = ENODATA;
rxrpc_abort_call(call, 1);
}
case rx_call_cl_wait_for_no_MSG_MORE:
case rx_call_sv_wait_for_no_MSG_MORE:
rxgen_dec_discard_excess(call);
- if (!(msg.msg_flags & MSG_MORE)) {
+ if (!call->more_recv) {
call->state++;
if (call->state == rx_call_sv_processing) {
/* Prepare to encode the response */