Author: rrs
Date: Sat Oct 18 15:56:52 2008
New Revision: 184031
URL: http://svn.freebsd.org/changeset/base/184031
Log:
The flags value was not always being copied out in the recv routine like it
should be.
Obtained from: Michael Tuexen
Modified:
head/sys/netinet/sctputil.c
Modified: head/sys/netinet/sctputil.c
==============================================================================
--- head/sys/netinet/sctputil.c Sat Oct 18 15:56:12 2008 (r184030)
+++ head/sys/netinet/sctputil.c Sat Oct 18 15:56:52 2008 (r184031)
@@ -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) &&
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"