The flags value was not always being copied out in the recv routine like it

should be.
Obtained from:	Michael Tuexen
This commit is contained in:
Randall Stewart 2008-10-18 15:56:52 +00:00
parent ac29704161
commit 1b9f62a044

@ -5896,9 +5896,10 @@ release_unlocked:
(no_rcv_needed == 0))
sctp_user_rcvd(stcb, &freed_so_far, hold_rlock, rwnd_req);
}
if (msg_flags)
*msg_flags = out_flags;
out:
if (msg_flags) {
*msg_flags = out_flags;
}
if (((out_flags & MSG_EOR) == 0) &&
((in_flags & MSG_PEEK) == 0) &&
(sinfo) &&