aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_input.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2014-08-03 18:12:55 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2014-08-03 18:12:55 +0000
commitcb9b8e6f7d018872a9db9653ed69d3ed47e27d34 (patch)
tree88dfe8df411bcdde9f67d745992545bd2736f499 /sys/netinet/sctp_input.c
parent2ea1fcce343f9210983949b7da8938f0261b3ef9 (diff)
downloadsrc-cb9b8e6f7d018872a9db9653ed69d3ed47e27d34.tar.gz
src-cb9b8e6f7d018872a9db9653ed69d3ed47e27d34.zip
Add support for the SCTP_PKTDROP_SUPPORTED socket option and
the corresponding sysctl variable. The default is off, since the specification is not an RFC yet. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=269481
Diffstat (limited to 'sys/netinet/sctp_input.c')
-rw-r--r--sys/netinet/sctp_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/sctp_input.c b/sys/netinet/sctp_input.c
index a15e352031f5..b7f533a60f9b 100644
--- a/sys/netinet/sctp_input.c
+++ b/sys/netinet/sctp_input.c
@@ -2788,6 +2788,7 @@ sctp_handle_cookie_echo(struct mbuf *m, int iphlen, int offset,
inp->ecn_supported = (*inp_p)->ecn_supported;
inp->prsctp_supported = (*inp_p)->prsctp_supported;
inp->nrsack_supported = (*inp_p)->nrsack_supported;
+ inp->pktdrop_supported = (*inp_p)->pktdrop_supported;
inp->partial_delivery_point = (*inp_p)->partial_delivery_point;
inp->sctp_context = (*inp_p)->sctp_context;
inp->local_strreset_support = (*inp_p)->local_strreset_support;