From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-185.mta0.migadu.com (out-185.mta0.migadu.com [91.218.175.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C49E2641C6 for ; Mon, 23 Feb 2026 21:43:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.185 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771882997; cv=none; b=KGmt0bimKstV6ERUB4os+TkohUkBEfLt6C4OxsOejs2DWhuMo3Rq9jt4/Ha2GTGRZRjww6+qT/0uoDHgehfpq1h+yaVvQx0ZVAnRGnwRmoXzvOSrEk42M7wx2ROXPWRDr4cwebnZJTJ8olsmU9duY0ZOKSztl5Jpt9BLd9I7Yio= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771882997; c=relaxed/simple; bh=8x3+GaARO3sIasJgNw+lz23WiKvjHUHZs7cHUaZ6qwA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Wer7tTfXW3qBXjgnPno0wUgHli7ezZJrzj5rtBxi5jox7leAXzIgjUHenZJB/HMeXjcEX+cH8vG3CNsYGtIr7mK1PZ6HM7/E+YCjs3yBDdb8Aih0gPwm813BviQvWlnLXpG4vX/Z1DlgDha27WPlD06zAdd1L+hvi9c6wPy9l/c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=McoNbNT9; arc=none smtp.client-ip=91.218.175.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="McoNbNT9" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1771882994; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6ZYcupND28PGAqaDkbT7jqLJ1TI0n/gP/2am0PmSi9g=; b=McoNbNT9vjwf2I2pNyeCv3x53PejvJMiSF7SiH5fi27UYl4kcLGt//K/xRN1I5Atzs1uJo zPoyam07zdN+LgsrrFJad6W947WyoNLVSd1zIpC5z6+ZL/zeA3eYLSNNYfbfC170YMLnUq B/GYtwlpPVkZQ9Beg6i1e5s9pVApOIg= Date: Mon, 23 Feb 2026 13:43:06 -0800 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf v2 3/4] bpf, sockmap: Adapt for the af_unix-specific lock To: Michal Luczaj , Kuniyuki Iwashima Cc: John Fastabend , Jakub Sitnicki , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Daniel Borkmann , Willem de Bruijn , Cong Wang , Alexei Starovoitov , Yonghong Song , Andrii Nakryiko , Eduard Zingerman , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Shuah Khan , netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org References: <20260207-unix-proto-update-null-ptr-deref-v2-0-9f091330e7cd@rbox.co> <20260207-unix-proto-update-null-ptr-deref-v2-3-9f091330e7cd@rbox.co> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 2/11/26 2:02 AM, Michal Luczaj wrote: >> It should also be helpful to be consistent with tcp/udp iter and use >> lock_sock() instead of lock_sock_fast() in bpf_iter_unix_seq_show(). > OK, I'll tweak that in v3. Hi, Michal. Are you planning to send v3 soon? I don't think the sock_owned_by_user for the non-tracing prog needs to be addressed in the same set.