From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id E58861EA1A0E for ; Thu, 1 Aug 2024 08:00:44 -0400 (EDT) (envelope-from tsoome@me.com) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 8F94BDC7470; Thu, 1 Aug 2024 08:00:44 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1722513644; b=nOZsn9K+ZTgfjIdwSnKJXFGruYFqKARIUFW9ytwTE0HcliGRoz YW+xLpU6PhEYFptPKW1Nq0qR291+1w/Sb4nFmYjI5JyyXvKAiL/iZ9IBJ+HSNlYi JUDzi8veB+4eJJut4zOocqC6AMgKobTRQp/GM1mLucoIsSsUMJnJ/YVur06+yISI GLR0qGymM84MIcEhAjlFT6vtFxGg/Y1tW1LfH3UGKsK+DmfvAT7NiQeKrmD/CbD0 ZpYlmkjkXAMmTXSj88hpY5wJcTsKpzFNSWo+w8h2NnI0iAAgQgOtis9dxwBN3KLa lZvnPcBpxP2uB8FblyrYbGJdz1aFpa3JnYWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=from:content-type:mime-version:subject :message-id:date:to; s=arcseal; t=1722513644; bh=/zsbPeR8OunoXwS IQgmyNsBROOU8tMeHXoWn/v/XerM=; b=Lj8X0hvvs3GjVRxWCJcMb2iN7E/HZwu yhAfAilG4U8LW4EGa/cYW/0IWHIj1PNz4BbeSpTqtSncS8aVbGdMSq3z+M7mTPGX qzO8iZi5DVYoE6BBkj4vxiylbetEyY9ZiYdwmsV/dsJLSTJDmdKy+L8djPPP/Tjv Gc/7iTk86cww0Iy8LIUkGqyjs+WBupLzgBg1RXf/8z99ahHy3vc6g0eGHWch9ad8 MVxpzxWDAqnuyj1+yWTnqWcEaU1eyxBK4HkhIvwPAzq0cJt8cqnQO8nNGOs6YgDZ 818vhRVHrzf08GUi1nE45CSa//s3y+jp1Mi88k/TbBnraolu2VYAVPg== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=declined (Domain declined to participate); dkim=pass (2048-bit rsa key sha256) header.d=me.com header.i=@me.com header.b=LoD5xE/P header.a=rsa-sha256 header.s=1a1hai x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=me.com; iprev=pass smtp.remote-ip=17.58.23.186 (mr85p00im-zteg06011601.me.com); spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=mr85p00im-zteg06011601.me.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mr85p00im-zteg06011601.me.com policy.ptr=mr85p00im-zteg06011601.me.com; x-return-mx=pass header.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-return-mx=pass smtp.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=declined (Domain declined to participate); dkim=pass (2048-bit rsa key sha256) header.d=me.com header.i=@me.com header.b=LoD5xE/P header.a=rsa-sha256 header.s=1a1hai x-bits=2048; dmarc=pass policy.published-domain-policy=quarantine policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=quarantine,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=me.com; iprev=pass smtp.remote-ip=17.58.23.186 (mr85p00im-zteg06011601.me.com); spf=pass smtp.mailfrom=tsoome@me.com smtp.helo=mr85p00im-zteg06011601.me.com; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mr85p00im-zteg06011601.me.com policy.ptr=mr85p00im-zteg06011601.me.com; x-return-mx=pass header.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-return-mx=pass smtp.domain=me.com policy.is_org=yes (MX Records found: mx01.mail.icloud.com,mx02.mail.icloud.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeeftddrjeekgdegjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefhtggguffkfffvofesrgdtmherhhdtvdenucfhrhho mhepvfhoohhmrghsucfuohhomhgvuceothhsohhomhgvsehmvgdrtghomheqnecuggftrf grthhtvghrnhepudehkeeufffhhfejvdejtdetiedvtdelfeeugfekvedthfehvefhudeh ffffvdehnecuffhomhgrihhnpehilhhluhhmohhsrdhorhhgnecukfhppedujedrheekrd dvfedrudekiedpudejrdehjedrudehvddrudeknecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehinhgvthepudejrdehkedrvdefrddukeeipdhhvghlohepmhhrkeehph dttdhimhdqiihtvghgtdeitdduudeitddurdhmvgdrtghomhdpmhgrihhlfhhrohhmpeeo thhsohhomhgvsehmvgdrtghomheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepoe guvghvvghlohhpvghrsehlihhsthhsrdhilhhluhhmohhsrdhorhhgqe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (me.com: 17.58.23.186 is authorized to use 'tsoome@me.com' in 'mfrom' identity (mechanism 'ip4:17.58.0.0/16' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="tsoome@me.com"; helo=mr85p00im-zteg06011601.me.com; client-ip=17.58.23.186 Received: from mr85p00im-zteg06011601.me.com (mr85p00im-zteg06011601.me.com [17.58.23.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for ; Thu, 1 Aug 2024 08:00:44 -0400 (EDT) (envelope-from tsoome@me.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1722513643; bh=/zsbPeR8OunoXwSIQgmyNsBROOU8tMeHXoWn/v/XerM=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=LoD5xE/PruWvunS6sGOtfTT9dxBI506wwDFLkgjG7NBtoC4KszQYd2Mr+rJMQxY67 uaPqyvjaNBijFTPwVumuUpsBu7ld+VYy7a4JYe0Qp0GeA93dIHqopEmU3upoApVKgf qvlsSC6NyRKvNiYtzY8WwggnyDCDQVXfeykpoSARYydYvdywtdcOz+F2+EvH3vi1RK UvFZuSG/B4pP5YnElwH1MRDO/rY4OP4G0WL9Q9fFRHs05jUuj2Oc+mj+zowl2xRH1k GcxOupLbRBRDQwIvDaWScSxZJ6VrYuhfF/knL5VXexgLly/r59rxsa6tkvUL66H1SV ICaePTMisuAsA== Received: from smtpclient.apple (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06011601.me.com (Postfix) with ESMTPSA id 8E3361803D6 for ; Thu, 1 Aug 2024 12:00:42 +0000 (UTC) From: Toomas Soome Content-Type: multipart/alternative; boundary="Apple-Mail=_A0300878-9C0E-4FDF-8AC1-7E469CCA6224" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: REVIEW: 16688 libipadm: storing the address of local variable Message-Id: Date: Thu, 1 Aug 2024 15:00:29 +0300 To: illumos-developer X-Mailer: Apple Mail (2.3774.600.62) X-Proofpoint-ORIG-GUID: kTrPtohd4HO4YQTk6vLndWXCBAMhOHZC X-Proofpoint-GUID: kTrPtohd4HO4YQTk6vLndWXCBAMhOHZC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-01_08,2024-08-01_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 clxscore=1015 phishscore=0 spamscore=0 adultscore=0 bulkscore=0 suspectscore=0 mlxscore=0 mlxlogscore=811 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2408010077 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: b1af4192-4ffd-11ef-8030-cc9cf1b21f82 --Apple-Mail=_A0300878-9C0E-4FDF-8AC1-7E469CCA6224 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii hi! Please review: https://code.illumos.org/c/illumos-gate/+/3617 I think, we can switch to use global variable in this case. thanks, toomas --Apple-Mail=_A0300878-9C0E-4FDF-8AC1-7E469CCA6224 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii hi!


I think, we can switch to use global variable in this case.

thanks,
toomas
--Apple-Mail=_A0300878-9C0E-4FDF-8AC1-7E469CCA6224--