aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctputil.h
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2014-04-19 19:21:06 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2014-04-19 19:21:06 +0000
commit32451da4160e1d9e4f25dfd6a56e729c55ca89e3 (patch)
tree1a5f6af3353123787b0c265100f2a332656744fd /sys/netinet/sctputil.h
parentde51fbd695357c04a9f2c529d6fcf168cbec2be4 (diff)
downloadsrc-32451da4160e1d9e4f25dfd6a56e729c55ca89e3.tar.gz
src-32451da4160e1d9e4f25dfd6a56e729c55ca89e3.zip
Send the correct error cause, when a DATA chunk with no user data
is received. This bug was reported by Irene Ruengeler. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=264679
Diffstat (limited to 'sys/netinet/sctputil.h')
-rw-r--r--sys/netinet/sctputil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/sctputil.h b/sys/netinet/sctputil.h
index 73c7f10e3d47..af5a0f298596 100644
--- a/sys/netinet/sctputil.h
+++ b/sys/netinet/sctputil.h
@@ -254,6 +254,7 @@ sctp_release_pr_sctp_chunk(struct sctp_tcb *, struct sctp_tmit_chunk *,
);
struct mbuf *sctp_generate_cause(uint16_t, char *);
+struct mbuf *sctp_generate_no_user_data_cause(uint32_t);
void
sctp_bindx_add_address(struct socket *so, struct sctp_inpcb *inp,