summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/tcp/tcp.c
diff options
context:
space:
mode:
authorBrian Ruthven <Brian.Ruthven@Sun.COM>2010-01-19 08:19:05 +0000
committerBrian Ruthven <Brian.Ruthven@Sun.COM>2010-01-19 08:19:05 +0000
commit8e0a6f35cab1ce3f28414bbe00abcc6a442c66bd (patch)
treea20135707b8f9abef605e21f7a6aac646ed9eae3 /usr/src/uts/common/inet/tcp/tcp.c
parentc1fad183c9a0deeb49586645ec9baa8f3c1bc8be (diff)
downloadillumos-joyent-8e0a6f35cab1ce3f28414bbe00abcc6a442c66bd.tar.gz
6912829 panic in ipsq_xopq_mp_cleanup/RD due to NULL ill->ill_wq on lo0 during zone shutdown/reboot
6912616 Duplicate initialiser for iocp in tcp_wput_iocdata 6912605 Erroneous comment in tcp_wput_iocdata
Diffstat (limited to 'usr/src/uts/common/inet/tcp/tcp.c')
-rw-r--r--usr/src/uts/common/inet/tcp/tcp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/uts/common/inet/tcp/tcp.c b/usr/src/uts/common/inet/tcp/tcp.c
index 9d956cb7cf..eb8fa22c55 100644
--- a/usr/src/uts/common/inet/tcp/tcp.c
+++ b/usr/src/uts/common/inet/tcp/tcp.c
@@ -16712,13 +16712,11 @@ tcp_wput_iocdata(tcp_t *tcp, mblk_t *mp)
/*
* If the conn is closing, then error the ioctl here. Otherwise
* use the CONN_IOCTLREF_* macros to hold off tcp_close until
- * we're done here. We also need to decrement the ioctlref which
- * was bumped in either tcp_ioctl or tcp_wput_ioctl.
+ * we're done here.
*/
mutex_enter(&connp->conn_lock);
if (connp->conn_state_flags & CONN_CLOSING) {
mutex_exit(&connp->conn_lock);
- iocp = (struct iocblk *)mp->b_rptr;
iocp->ioc_error = EINVAL;
mp->b_datap->db_type = M_IOCNAK;
iocp->ioc_count = 0;