<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:18:55 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-15509] Ping buffer reference leaks in lnet_peer_data_present()</title>
                <link>https://jira.whamcloud.com/browse/LU-15509</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There are some additional places where ping buffer reference will leak in lnet_peer_data_present(). These are error paths so they should be rare.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;static int lnet_peer_data_present(struct lnet_peer *lp)
__must_hold(&amp;amp;lp-&amp;gt;lp_lock)
{
...
        if (list_empty(&amp;amp;lp-&amp;gt;lp_peer_list))
                goto out; &amp;lt;&amp;lt;&amp;lt; Ref leak
...
        if (nid_is_lo0(&amp;amp;lp-&amp;gt;lp_primary_nid)) {
                rc = lnet_peer_set_primary_nid(lp, nid, flags);
                if (!rc) &amp;lt;&amp;lt;&amp;lt; ref leak if rc is non-zero
                        rc = lnet_peer_merge_data(lp, pbuf);
...
                if (!lpni || lp == lpni-&amp;gt;lpni_peer_net-&amp;gt;lpn_peer) {
                        rc = lnet_peer_set_primary_nid(lp, nid, flags);
                        if (rc) { 
                                CERROR(&quot;Primary NID error %s versus %s: %d\n&quot;,
                                       libcfs_nidstr(&amp;amp;lp-&amp;gt;lp_primary_nid),
                                       libcfs_nid2str(nid), rc);   &amp;lt;&amp;lt;&amp;lt; ref leak
                        } else {
                                rc = lnet_peer_merge_data(lp, pbuf);
                        }
...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="68439">LU-15509</key>
            <summary>Ping buffer reference leaks in lnet_peer_data_present()</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="hornc">Chris Horn</assignee>
                                    <reporter username="hornc">Chris Horn</reporter>
                        <labels>
                    </labels>
                <created>Tue, 1 Feb 2022 17:23:09 +0000</created>
                <updated>Wed, 15 Jun 2022 22:35:06 +0000</updated>
                            <resolved>Sat, 11 Jun 2022 15:39:25 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="325013" author="gerrit" created="Wed, 2 Feb 2022 22:22:52 +0000"  >&lt;p&gt;&quot;Chris Horn &amp;lt;chris.horn@hpe.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46431&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46431&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15509&quot; title=&quot;Ping buffer reference leaks in lnet_peer_data_present()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15509&quot;&gt;&lt;del&gt;LU-15509&lt;/del&gt;&lt;/a&gt; lnet: Ping buffer ref leak in lnet_peer_data_present&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 8e361c9faf8cf819a1339e9e8afccfeacdeaf3ab&lt;/p&gt;</comment>
                            <comment id="337414" author="gerrit" created="Sat, 11 Jun 2022 05:34:24 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/46431/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46431/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15509&quot; title=&quot;Ping buffer reference leaks in lnet_peer_data_present()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15509&quot;&gt;&lt;del&gt;LU-15509&lt;/del&gt;&lt;/a&gt; lnet: Ping buffer ref leak in lnet_peer_data_present&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 4de9793654ec1b2f08d93f74f7391c4245ab8769&lt;/p&gt;</comment>
                            <comment id="337505" author="pjones" created="Sat, 11 Jun 2022 15:39:25 +0000"  >&lt;p&gt;Landed for 2.16&lt;/p&gt;</comment>
                            <comment id="337643" author="gerrit" created="Mon, 13 Jun 2022 18:32:33 +0000"  >&lt;p&gt;&quot;Olaf Faaland-LLNL &amp;lt;faaland1@llnl.gov&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47613&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47613&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15509&quot; title=&quot;Ping buffer reference leaks in lnet_peer_data_present()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15509&quot;&gt;&lt;del&gt;LU-15509&lt;/del&gt;&lt;/a&gt; lnet: Ping buffer ref leak in lnet_peer_data_present&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 69668d7d6e8f4f3c63fe0f369ca9de9b905c9b80&lt;/p&gt;</comment>
                            <comment id="337644" author="ofaaland" created="Mon, 13 Jun 2022 18:35:30 +0000"  >&lt;p&gt;Seems like this should be landed to 2.15 as well, at some point, so I pushed a backport. &#160;Should this issue get label &quot;LTS15&quot;?&lt;/p&gt;</comment>
                            <comment id="337888" author="gerrit" created="Wed, 15 Jun 2022 22:35:06 +0000"  >&lt;p&gt;&quot;Olaf Faaland-LLNL &amp;lt;faaland1@llnl.gov&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47639&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47639&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15509&quot; title=&quot;Ping buffer reference leaks in lnet_peer_data_present()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15509&quot;&gt;&lt;del&gt;LU-15509&lt;/del&gt;&lt;/a&gt; lnet: Ping buffer ref leak in lnet_peer_data_present&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 15972bb6c5e2bdcc39ad7ca4796ffe5c6e5f3726&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i02gy7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>