aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2012-04-21 11:53:24 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2012-04-21 11:53:24 +0000
commit07ee8fa69f278f004b3f9f9a90cbfd6992a89181 (patch)
tree95d12ee9566ecc9b44eeaf25fb91b8e5c96e4287 /sys/netinet
parent70d035a3ec9c96398c9eb9b840caf6bf59eceb4e (diff)
downloadsrc-07ee8fa69f278f004b3f9f9a90cbfd6992a89181.tar.gz
src-07ee8fa69f278f004b3f9f9a90cbfd6992a89181.zip
Fix check used by stream reset related events.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=234539
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/sctputil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c
index ba61a8cc0eae..bbc999c0af61 100644
--- a/sys/netinet/sctputil.c
+++ b/sys/netinet/sctputil.c
@@ -3214,7 +3214,7 @@ sctp_notify_stream_reset_add(struct sctp_tcb *stcb, uint16_t numberin, uint16_t
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_tcb *stcb, uint32_t sending_tsn, uint32
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 *stcb,
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;
}