summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/inet/ip/ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/inet/ip/ip.c b/usr/src/uts/common/inet/ip/ip.c
index 00a1e4275f..a1aa5c19ef 100644
--- a/usr/src/uts/common/inet/ip/ip.c
+++ b/usr/src/uts/common/inet/ip/ip.c
@@ -20098,7 +20098,7 @@ qnext:
* and ipif_ill same anymore and the assert
* below would fail.
*/
- if (mctl_present) {
+ if (mctl_present && io->ipsec_out_attach_if) {
io->ipsec_out_ill_index = 0;
io->ipsec_out_attach_if = B_FALSE;
ASSERT(attach_ill != NULL);