Mercurial > illumos > illumos-gate
changeset 9050:77707499ae74
6810425 System panic's while running snv_109 on WhiteBox QuadXeon
author | Anders Persson <Anders.Persson@Sun.COM> |
---|---|
date | Mon, 16 Mar 2009 16:07:46 -0700 |
parents | 97fb32aaf10b |
children | 328841a485c4 |
files | usr/src/uts/common/inet/tcp/tcp.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/inet/tcp/tcp.c Mon Mar 16 15:52:35 2009 -0700 +++ b/usr/src/uts/common/inet/tcp/tcp.c Mon Mar 16 16:07:46 2009 -0700 @@ -15150,9 +15150,11 @@ if (!(sodp->sod_state & SOD_ENABLED) || (tcp->tcp_kssl_ctx != NULL && DB_TYPE(mp) == M_DATA)) { + mutex_exit(sodp->sod_lockp); sodp = NULL; - } - mutex_exit(sodp->sod_lockp); + } else { + mutex_exit(sodp->sod_lockp); + } } if (mp->b_datap->db_type != M_DATA || (flags & TH_MARKNEXT_NEEDED)) {