summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/sctp/sctp_output.c
diff options
context:
space:
mode:
authornordmark <none@none>2007-10-11 22:57:36 -0700
committernordmark <none@none>2007-10-11 22:57:36 -0700
commitfc80c0dfb0c877aee828d778ea32b77fcf7b1ef4 (patch)
tree6dec9e57526902b987236d87151076c1fe6726c1 /usr/src/uts/common/inet/sctp/sctp_output.c
parent0ed947430948b9592d83cd6b54fc0869c5b8879c (diff)
downloadillumos-gate-fc80c0dfb0c877aee828d778ea32b77fcf7b1ef4.tar.gz
6595449 IP streams plumbing simpification
6604040 ASSERT fp->timer_mp == 0L panic in sctp_common.c, line: 1876 6606989 panic in ip_rput_forward for multicast router 6606990 assertion failed: th_trace->th_refcnt == 0 6608966 Backport to onnv: 6440004 Get rid of UDP's perimeter mechanism in favor of locks.
Diffstat (limited to 'usr/src/uts/common/inet/sctp/sctp_output.c')
-rw-r--r--usr/src/uts/common/inet/sctp/sctp_output.c50
1 files changed, 0 insertions, 50 deletions
diff --git a/usr/src/uts/common/inet/sctp/sctp_output.c b/usr/src/uts/common/inet/sctp/sctp_output.c
index 7bcb6277fe..3d5de70453 100644
--- a/usr/src/uts/common/inet/sctp/sctp_output.c
+++ b/usr/src/uts/common/inet/sctp/sctp_output.c
@@ -2013,56 +2013,6 @@ restart_timer:
}
/*
- * The SCTP write put procedure called from IP.
- */
-void
-sctp_wput(queue_t *q, mblk_t *mp)
-{
- uchar_t *rptr;
- t_scalar_t type;
-
- switch (mp->b_datap->db_type) {
- case M_IOCTL:
- sctp_wput_ioctl(q, mp);
- break;
- case M_DATA:
- /* Should be handled in sctp_output() */
- ASSERT(0);
- freemsg(mp);
- break;
- case M_PROTO:
- case M_PCPROTO:
- rptr = mp->b_rptr;
- if ((mp->b_wptr - rptr) >= sizeof (t_scalar_t)) {
- type = ((union T_primitives *)rptr)->type;
- /*
- * There is no "standard" way on how to respond
- * to T_CAPABILITY_REQ if a module does not
- * understand it. And the current TI mod
- * has problems handling an error ack. So we
- * catch the request here and reply with a response
- * which the TI mod knows how to respond to.
- */
- switch (type) {
- case T_CAPABILITY_REQ:
- (void) putnextctl1(RD(q), M_ERROR, EPROTO);
- break;
- default:
- if ((mp = mi_tpi_err_ack_alloc(mp,
- TNOTSUPPORT, 0)) != NULL) {
- qreply(q, mp);
- return;
- }
- }
- }
- /* FALLTHRU */
- default:
- freemsg(mp);
- return;
- }
-}
-
-/*
* This function is called by sctp_ss_rexmit() to create a packet
* to be retransmitted to the given fp. The given meta and mp
* parameters are respectively the sctp_msg_hdr_t and the mblk of the