summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/inet/ip/ip6.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/inet/ip/ip6.c')
-rw-r--r--usr/src/uts/common/inet/ip/ip6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/inet/ip/ip6.c b/usr/src/uts/common/inet/ip/ip6.c
index 5f58952058..dc0a9de4e4 100644
--- a/usr/src/uts/common/inet/ip/ip6.c
+++ b/usr/src/uts/common/inet/ip/ip6.c
@@ -9476,7 +9476,7 @@ ip_output_v6(void *arg, mblk_t *mp, void *arg2, int caller)
connp->conn_latch != NULL)) {
ASSERT(first_mp == mp);
/* XXX Any better way to get the protocol fast ? */
- if (((mp = ipsec_attach_ipsec_out(mp, connp, NULL,
+ if (((mp = ipsec_attach_ipsec_out(&mp, connp, NULL,
connp->conn_ulp, ipst->ips_netstack)) == NULL)) {
BUMP_MIB(mibptr, ipIfStatsOutDiscards);
if (need_decref)