summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/ip/ip_attr.c
diff options
context:
space:
mode:
authorErik Nordmark <Erik.Nordmark@Sun.COM>2010-02-17 19:52:19 -0800
committerErik Nordmark <Erik.Nordmark@Sun.COM>2010-02-17 19:52:19 -0800
commit76a1033e5eab8f829e5080c3397bf826f6dd382c (patch)
treeba166dbaf43567f180d7260459c258d5718a271d /usr/src/uts/common/inet/ip/ip_attr.c
parent707da956f10b527c61331142582204e292b21bd6 (diff)
downloadillumos-gate-76a1033e5eab8f829e5080c3397bf826f6dd382c.tar.gz
6923355 tcp leaves conn_ixa->ixa_cred unitialized causing confusion
Diffstat (limited to 'usr/src/uts/common/inet/ip/ip_attr.c')
-rw-r--r--usr/src/uts/common/inet/ip/ip_attr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/inet/ip/ip_attr.c b/usr/src/uts/common/inet/ip/ip_attr.c
index a46a82c85f..c3a55e19bc 100644
--- a/usr/src/uts/common/inet/ip/ip_attr.c
+++ b/usr/src/uts/common/inet/ip/ip_attr.c
@@ -20,7 +20,7 @@
*/
/*
- * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/* Copyright (c) 1990 Mentat Inc. */
@@ -1073,15 +1073,15 @@ ixa_cleanup(ip_xmit_attr_t *ixa)
if (ixa->ixa_free_flags & IXA_FREE_TSL) {
ASSERT(ixa->ixa_tsl != NULL);
label_rele(ixa->ixa_tsl);
- ixa->ixa_tsl = NULL;
ixa->ixa_free_flags &= ~IXA_FREE_TSL;
}
+ ixa->ixa_tsl = NULL;
if (ixa->ixa_free_flags & IXA_FREE_CRED) {
ASSERT(ixa->ixa_cred != NULL);
crfree(ixa->ixa_cred);
- ixa->ixa_cred = NULL;
ixa->ixa_free_flags &= ~IXA_FREE_CRED;
}
+ ixa->ixa_cred = NULL;
ixa->ixa_src_preferences = 0;
ixa->ixa_ifindex = 0;
ixa->ixa_multicast_ifindex = 0;