svn commit: r234800 - stable/9/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Sun Apr 29 16:29:39 UTC 2012
Author: tuexen
Date: Sun Apr 29 16:29:39 2012
New Revision: 234800
URL: http://svn.freebsd.org/changeset/base/234800
Log:
MFC r234539:
Fix check used by stream reset related events.
Modified:
stable/9/sys/netinet/sctputil.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/netinet/sctputil.c
==============================================================================
--- stable/9/sys/netinet/sctputil.c Sun Apr 29 16:28:39 2012 (r234799)
+++ stable/9/sys/netinet/sctputil.c Sun Apr 29 16:29:39 2012 (r234800)
@@ -3214,7 +3214,7 @@ sctp_notify_stream_reset_add(struct sctp
struct sctp_stream_change_event *stradd;
int len;
- if (sctp_is_feature_off(stcb->sctp_ep, SCTP_PCB_FLAGS_STREAM_RESETEVNT)) {
+ if (sctp_stcb_is_feature_off(stcb->sctp_ep, stcb, SCTP_PCB_FLAGS_STREAM_RESETEVNT)) {
/* event not enabled */
return;
}
@@ -3275,7 +3275,7 @@ sctp_notify_stream_reset_tsn(struct sctp
struct sctp_assoc_reset_event *strasoc;
int len;
- if (sctp_is_feature_off(stcb->sctp_ep, SCTP_PCB_FLAGS_STREAM_RESETEVNT)) {
+ if (sctp_stcb_is_feature_off(stcb->sctp_ep, stcb, SCTP_PCB_FLAGS_STREAM_RESETEVNT)) {
/* event not enabled */
return;
}
@@ -3333,7 +3333,7 @@ sctp_notify_stream_reset(struct sctp_tcb
struct sctp_stream_reset_event *strreset;
int len;
- if (sctp_is_feature_off(stcb->sctp_ep, SCTP_PCB_FLAGS_STREAM_RESETEVNT)) {
+ if (sctp_stcb_is_feature_off(stcb->sctp_ep, stcb, SCTP_PCB_FLAGS_STREAM_RESETEVNT)) {
/* event not enabled */
return;
}
More information about the svn-src-stable-9
mailing list