From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.227.133 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796307695; b=EAKNQpgqX6gkfOiVT5t8Niqx68eGs5QMPfYZIT7T+eREDUjJCmERhmYjafrMFlYqvzIS 2Gsm4QHuQLNi//ex0aPxfu4gZhKXw36J9P4B3cQlPstNJ/zwE4+yiZXHA//Iw1xQWLbVe 1PRoTprPuQNxFlGHBKj8Dg6nfz0KccX4Eb6gH38+1AqDH33ztmd4oH/SGHCgZE5HrfjUH SUaFArb07Latti/bnOJHg6ZKYsT16/vOeYGGmBcQJWl6owu4mvELvNwdsjxhCjRMG/KNm KU1s688RXMqmwsd8XcQkNnNKSvSY+SAT+/fS5ncQgjSfQvYPiV8hoQJi7CqGGxSKufA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796307695; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=eI8DgFk5Px6TSF/mqn0+efAcQOKEaPNjpohy/7mvHmI=; b=Gwq2IVakTdKFL8m7gy6IbdyEq1gEp4OvCjYUxvIJ+5H9uzaeVC/GVi5EPOhLpg717xK+ ochA8ykhnT2Dc2RQOAwbqegjVEDncWHh3rqa6LZ2GSlAA13Ot42246EUxs1wScp6VpY3k eMJ2DhhiS2SSrJceAvZnvnAGCyiUZSpYVKXItqIo8I8Ro6J+6W56ECKsHJcJfruji9iOU axIrNNPELamDZE1F/x3DPoBHvTl/9OAbAA6VbMflIUWbwB0CZtLyZIUseOnpvnwHSLCV/ rWM52HkDDE9rcadBYiGf9zATXlt6hu6eMxUhoea8lRASuMXTKcW2E2ulIec19IViZvQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=je61luG3; arc=none smtp.remote-ip=74.125.227.133 Received: from mail-pj2-f5.google.com (mail-pj2-f5.google.com [74.125.227.133]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F0C1E606A32D for ; Thu, 3 Dec 2026 14:21:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F0C1E606A32D Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=je61luG3 Received: by mail-pj2-f5.google.com with SMTP id d9443c01a7336-2f03335ec43so50508475ad.0 for ; Thu, 03 Dec 2026 06:21:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796307694; x=1796912494; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=eI8DgFk5Px6TSF/mqn0+efAcQOKEaPNjpohy/7mvHmI=; b=je61luG3QkT6TOIE5p9uTNKVfAwyPAEkhchlKZ7u2vx6aYIT48+LjFjrAmlLrQog4E /GmsVEcj5TKiII8kc1pwzk6fQd4RIXHYLdlWGGM17Dc3xJNFHltf3vB9kKJDW9rouJVl utrVz7VSPQcLt8gkzkVb9N/a4vVnCw1DMUMnPm/TagPSTciVoCFkBPwWTsNaUufCHsZy +30+2H9H9EpIXWvKV1VHvhDbZ6yAuqL0qHTKCBMsVmzanreFrq9ivDGQtReOKM7wwLna iCRbfLsJqmd51iybRtmBA96mjF1IP76GGBcy00whiXqtHfos96aiTyJtozNFfUcz8lMR FI/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796307694; x=1796912494; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=eI8DgFk5Px6TSF/mqn0+efAcQOKEaPNjpohy/7mvHmI=; b=T0oJXQ2+FnZ7n3sGelbLPRD6oi1nXXHbxdYQ/LBnfMoqCeuvy0CbWYxqEL+xNueDsw iLX9bbkvmrnIDY9bpHHK5pq2MBh2Kni0ktRtqgzLYRohCALdVIOez9/3SY2DxZ+JEnXG aVE+H0lX1EShD6Xgb4i0DHQpdxIaGClQSTWe2zITMlXpx9VLdVoxa71S+Xxu5cUB3amh 7HFLw7kT2vtX+XTyFpsNRycXzBzwf16/iLbsN2Nkhz7gRwJ7OZFsLjj0YcFUpik+vPXS ABRIst+MCF7uFB8LK3FAL61PgnwWRzQQAoxyRBNHq+JTyxubG/ayefgxWfaOt1CXNkAu 7w0A== X-Forwarded-Encrypted: i=1; AL+hErHJ9HFGFbNRpxUdsdWEFlwvrsiCQYEABepVuIP4DB9lUK6lNgopEgXXgT4U3mRndIvnR522THb5koplknA=@vger.kernel.org X-Gm-Message-State: APuU4Z/bxGcNpD4rhxcWrtr8JxVu1cRgTaEqrELw4QMYDuHS4C7FvNq+ n4q7a6Dn0VepHHachcAlU8t9fF3R+1iJ0LrD3MuIFJdgEi9ublezpgA= X-Gm-Gg: AZFdTZf8IYXg9L+c2aU+ujbGWQYFh/iRQbiqAYapumg5tQVCAliTwGyGZPehhe4li1K 5WXC81LC+lUV9+bSpuSOMZlMZEP6f+CJmncRIUKwO/qZhT9pXWoSc5WAp6b9yI5so6G5Ows8kOK M6SUsTBwyD3ddzWvpy6PsAfbjZ7ZeOeP4pE3WoYLvONLJ/5ZXXk3At7kh49DERmFX/5l0ec4qGu ZfZ1Y6fRwh84aKJs9L9Xw32SP18AROVV3v1PU6pfy2YGB0l5Z+d68et8eRbeBw+pldyLUMzrC7r nKP/sGtrTbiLtJHK4g6epHzcN9pKUaDCljXqnxtXbKUwUGU9Z1D4m4FBySGSnY12uJPQks1kwUl SQu4Vw83C6HopUJ/tuxMLrZSpQlX3+IvbI3Thm/g8m4TN8u/JVDP8UgGMQJ3MvXCvnT/QYXnLyc P6z1HJfvYljwicDwiDA3jYlR3Hx+fgTZnFwkWVCA8eCaY9R0YTlFXRVCxbANadvSdrkpDTCzX7G DMaHenD0kRCtvDf4jOGjXIjQL39BtMnzsTQ3JHxXI0gaFZgqlL0OlKf/BLlIQNLYJPQYFNGXVMe BT8M0nFqJSr/IukrA95C X-Received: by 2002:a17:903:b4b:b0:2e2:d09f:d770 with SMTP id d9443c01a7336-2f03f18fcdbmr475343925ad.26.1796307694066; Thu, 03 Dec 2026 06:21:34 -0800 (PST) Received: from localhost ([2a09:bac1:36a0:40::243:a1]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f03f0dbe86sm221141595ad.32.2026.12.03.06.21.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 06:21:33 -0800 (PST) From: Murali Krishna To: netdev-bot+sashiko@kernel.org Cc: Murali Krishna , Manivannan Sadhasivam , Shuah Khan , Hangbin Liu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v3] selftests: net: add tests for the QRTR socket family Date: Thu, 3 Dec 2026 19:50:01 +0530 Message-ID: <20261203142024.15053-1-muralikrishna2444b@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <179630210271.3146.11727363632224442979@kernel.org> References: <20261202120303.257866-1-muralikrishna2444b@gmail.com> <179630210271.3146.11727363632224442979@kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Thu, Dec 03, 2026 at 12:48:22PM +0000, netdev-bot+sashiko@kernel.org wrote: > - [Medium] qrtr_endpoint.c gives the fake /dev/qrtr-tun endpoint the > fixed node id TEST_SRC_NODE = 5. Agreed. qrtr_node_assign() gives the tun endpoint the id even when another node already has it, so a small fixed id can be taken for a real remote processor on a Qualcomm board. v4 still has this; v5 will use 0xfff0, near the top of the 16-bit v2 node field. > - [Medium] qrtr.sh passes on only the binaries' failure status, so it > exits 0 (PASS) whenever nothing actually runs Fixed in v4: if no test passes and none fails, qrtr.sh now exits with the kselftest skip code. > - [Medium] The commit message says the suite covers the CAP_NET_ADMIN > boundary, but bind_privileged_port in qrtr_sock.c does not test it Fixed in v4: the test drops CAP_NET_ADMIN itself, so a single run as root checks both sides: with it, binding a low port succeeds; without it, binding the port just below the ephemeral range fails with EACCES. v5 also checks that the first port of the range is not refused without it, and only trusts capget() in the initial user namespace, since capable() checks that one. > - [Medium] The qrtr_endpoint.c header comment (lines 11-12) and the > commit message say each frame is malformed in exactly one way Fixed in v4: zero_size and unaligned_length now fail only the check they are named for, and the comments say which checks cannot be tested on their own. In v5, size_exceeds_frame uses a frame that only the size check rejects when size_t is 32-bit. > - [Low] Since commit 3b536db8fb32, qrtr_create() in net/qrtr/af_qrtr.c > returns -EAFNOSUPPORT for any network namespace other than init_net Right. v5 mentions init_net in the skip messages and in the comment. qrtr.sh does not need to detect it: as root outside init_net, qrtr_endpoint still runs the tests that need no socket, and a run where no test passes or fails is reported as a skip. v4: https://lore.kernel.org/r/20261203122145.144381-1-muralikrishna2444b@gmail.com pw-bot: cr