<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:13:34 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-7979] dereferencing ERR PTR in kiblnd_alloc_freg_pool</title>
                <link>https://jira.whamcloud.com/browse/LU-7979</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Recently landed FMR patch introduced this problem:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;                frd-&amp;gt;frd_frpl = ib_alloc_fast_reg_page_list(fpo-&amp;gt;fpo_hdev-&amp;gt;ibh_ibdev,
                                                            LNET_MAX_PAYLOAD/PAGE_SIZE);
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (IS_ERR(frd-&amp;gt;frd_frpl)) {
                        rc = PTR_ERR(frd-&amp;gt;frd_frpl);
                        CERROR(&lt;span class=&quot;code-quote&quot;&gt;&quot;Failed to allocate ib_fast_reg_page_list: %d\n&quot;&lt;/span&gt;,
                                rc);
                        &lt;span class=&quot;code-keyword&quot;&gt;goto&lt;/span&gt; out_middle;
                }

...
out_middle:
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (frd-&amp;gt;frd_mr)
                ib_dereg_mr(frd-&amp;gt;frd_mr);
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (frd-&amp;gt;frd_frpl)
                ib_free_fast_reg_page_list(frd-&amp;gt;frd_frpl);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;We should be either assigning the frd_frpl NULL or expand the check at teh end, I guess.&lt;/p&gt;</description>
                <environment></environment>
        <key id="35772">LU-7979</key>
            <summary>dereferencing ERR PTR in kiblnd_alloc_freg_pool</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="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Apr 2016 04:10:23 +0000</created>
                <updated>Mon, 3 Oct 2016 16:09:45 +0000</updated>
                            <resolved>Mon, 11 Apr 2016 12:34:23 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="147549" author="adilger" created="Fri, 1 Apr 2016 06:30:36 +0000"  >&lt;p&gt;It would be better to just add a different label &lt;tt&gt;out_frd:&lt;/tt&gt; or similar and jump to that.  Also, the following case of frd_mr is the same, and it should jump just before &lt;tt&gt;ib_free_fast_reg_page_list()&lt;/tt&gt; and &lt;tt&gt;out_middle:&lt;/tt&gt; isn&apos;t useful at all, nor are the &quot;if (frd-&amp;gt;frd_*)&quot; checks.&lt;/p&gt;</comment>
                            <comment id="147698" author="gerrit" created="Mon, 4 Apr 2016 10:27:17 +0000"  >&lt;p&gt;Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/19311&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19311&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7979&quot; title=&quot;dereferencing ERR PTR in kiblnd_alloc_freg_pool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7979&quot;&gt;&lt;del&gt;LU-7979&lt;/del&gt;&lt;/a&gt; o2iblnd: fix free of IS_ERR pointer&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: be4b44b01fc0c7872e908531e41e60b4285cc5d9&lt;/p&gt;</comment>
                            <comment id="148342" author="gerrit" created="Mon, 11 Apr 2016 02:52:29 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/19311/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19311/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7979&quot; title=&quot;dereferencing ERR PTR in kiblnd_alloc_freg_pool&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7979&quot;&gt;&lt;del&gt;LU-7979&lt;/del&gt;&lt;/a&gt; o2iblnd: fix free of IS_ERR pointer&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8e80b8f52d88ddadb448b933813a43fcc96eccd9&lt;/p&gt;</comment>
                            <comment id="148368" author="jgmitter" created="Mon, 11 Apr 2016 13:26:55 +0000"  >&lt;p&gt;Landed to master for 2.9.0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|hzy6lj:</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>