From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E91573C9898 for ; Thu, 21 May 2026 11:54:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779364467; cv=none; b=kHcB9mXGGV8xhULeTGI9ce7SdXPRbidWcKcMLtgZrlPKkzGT6wYvXkYGLyydax3PeBWuKi4dE2FvfoYdLwtp9KRfckH0thxNDNd2lHLJDL8281OAgB8/D+UArBf5/aXSgmPH8RLc8aGw/Z2VagD8CizJgpG90KATca/zpYojQDw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779364467; c=relaxed/simple; bh=4ksPH45eYv1y2bOoBOta3Op6vaazNs0wpueU4roaW1o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GbtwKRrevpIAVFRUlbyyW3nQH/2NWY4kWGitfAKdrF2zpStWKcXoNiu8Da+Z39xpNvlsqCymjq1AlC5RPKAB5oLm6mDGMjLZESyXGrUWV5qQqXG63c7ATeIWRidlisKESfG0p0DPOifMY0ONfViLO5x4YwnOMZek3Gqeo2cfPEY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.216.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-3680540a6efso3248896a91.2 for ; Thu, 21 May 2026 04:54:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779364465; x=1779969265; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8gyM9oyEDZI3ukzkvCe3x5e1vT+1mW/tS146XCaEOig=; b=otsFZi+ZNLmawVC3JLn+eVJL+J8DDjfLCXPutj4CkfjCQDItLvpBxXm/pSiwzpcZY3 58hkM9L97XdeYDIEOYaPRt4N7dUFe+aaUEZV2o8npyE/Tq/pWbKpPVWBWgi1ffwESKLV u5ddxWNuXfiPbmekbZLlvubEzZWyEQCM9qFGhNV2RZRrLrxx8MWdraVwvtMnYpkmq/SV 3ygFwhul4VvtRK6+lGKNBd0mUqPqVfy+fPN4yH7OpyGFOh0HVLQBcd81/JojhJwiPwwA dASN/8OHbEelvQqXq2uFFsmVjJ/8WW/tub/nl9Om0llUO8kuYQu8eEsWoVpMyxksRF51 WPbQ== X-Forwarded-Encrypted: i=1; AFNElJ9NAa3pstvZ0zOXG4ep/c9HBUNXV1t1XlcAWgbIJywzJWjz8UZz+SiC8J4UgjuPqhfSn+9usWnnUANGtuA=@vger.kernel.org X-Gm-Message-State: AOJu0Yy/mpP07Mrem533KZE2FOhveuM1DqkU5bKTdVM9U7UTNlkt67qa dlYNk6YUMrLTjaZwrzIaXXF5Wcz29Wn/GI1+tRZ6LamYjN/r/G1/3rhH X-Gm-Gg: Acq92OFJWxl1IZj2yyO/K59PEekDHZG2aQEcbSoaMKFaOHIHcbkdQAkQmsviW0qUwyS FJ23b+uqzmNuj6rHhs8igP/dyOBW34OQtWMklq7YZ7/vfSqZx/grldOzqBs6aiWFBD6nxK5Dzeq ZmlTkMieM0U51A9EcqMGVkhw52jWnn/p8WYbeCl/GFyxpgqy2NLP6hKmOduR65lPP6M/b9L/3Iq subqqdSObySw2NYw3cSRvmrsYPen8yuDJ3XFSaGQom5h0BFPmX9pq5tjKIT5YsmJG1pKZbE08aM LhdFgzK4NOFHcB/OR0RxIFqs9WJaTVO6uU5ML6SjyDULwxzTg/wZ8CUjiHgzUmuIVcuyEhOuOeO mRLrypI8seqvTLVJyS83oQkDhYNwcq0G6LT0fcMcLOda3I5QGmHLpsyJbpgPpb/rvbLTaXHKLo8 SJhda9iw1SobU+a9rJiXHk0xKYcU763oFOccLnnYE6hRCTsAIE4fOec2LeJxxWEWNzTu73aD22z cabX3O5vBwC44dqZ6p/Y0hfPTtmZ0iMNcO9sGDJvsMsRuQ3qwVMeH6Wkcqyt0NGzUj7n13UiypX WNj5OR0OtuxKW43jiQnrOSuIQ5cawhw= X-Received: by 2002:a17:90a:dfce:b0:367:cb53:7436 with SMTP id 98e67ed59e1d1-36a45766669mr2388727a91.27.1779364465187; Thu, 21 May 2026 04:54:25 -0700 (PDT) Received: from localhost (fpd11144dd.ap.nuro.jp. [209.17.68.221]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-36a3cb3b329sm3165384a91.2.2026.05.21.04.54.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 May 2026 04:54:23 -0700 (PDT) Date: Thu, 21 May 2026 20:54:22 +0900 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Gianfranco Dutka Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI/sysfs: NULL res_attr slot after kfree as defence against double-remove Message-ID: <20260521115246.GA647881@rocinante> References: <20260520211306.3301893-1-gianfranco.dutka@arista.com> <20260520224549.3304374-1-gianfranco.dutka@arista.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260520224549.3304374-1-gianfranco.dutka@arista.com> Hello, > Whichever you prefer. If you have a moment, consider changes from the following series: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/log/?h=sysfs Test, and let us know if this fixes the problem for you. I would appreciate if you could test this for us. Thank you! Krzysztof