From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.227.132 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796307695; b=vM79QTcvEwtnbRC9YW5Qs3VMwHIkU0R8MS69dCNJVyEW0jcCJyzFLfxmUDj3wFtS4ooJ ha75wJCXul2SLcCoVgzVtFCHWBp6CopzVCTViHFLHdu4v7slNQw5fm5FFaWpUrUhunCXV yOUfJy6+33eFPp9S6TQGn4rsB3QqkrTWVmYBC2RYbaN8iuXkNfPH/q8UV/Zp7gwnuBUXy GNh9ueeicSMnSaQhX9i2/MiMF+X3BiUAaBxPtQz+PL0UTzDnYDtGS4woLNxD5YszpRvcM ZhaHkpt+anDEzI9k7cPNOpJbH64yeuzJES59qgfsoKhNR/sVfUahFgh7HuqKD2Ona5w== 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=SvfwThBrkxYBVu6haxOhsyMffx3WfFWvZzbk9RaJ3ejLooPW7VOZWDvGCbXEUqDAtCju NpBzP8Dq38KADToahx7zdG7opTRuzp9KCLAtIFueQ4dM8eSh6w9g3RwKGB6R2XbA2jV+1 3puqlBoRHWzIDcYTrY21BPJQaLNcCZZHdfxnREY0Yh9sIgH02FkAjpksZTve8hmwh9ERS duI5xjg4hKcDL9fQHfWle6s2E0eEgVhPeEf6hhGTNWS5UmmNFG5DqqA0zFHmj6JdfmG9D VNGOqTPossezLAR8b0HX+V1F4zLFP2liqQEb80NCpETMLdkya8QgIn87xsK/OcKcotA== 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.132 Received: from mail-pj2-f4.google.com (mail-pj2-f4.google.com [74.125.227.132]) (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 E3464606A32C for ; Thu, 3 Dec 2026 14:21:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E3464606A32C 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-f4.google.com with SMTP id d9443c01a7336-2f04824c47bso32574145ad.1 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=kEA3WixJwYXmjKj3dI95hVttQop58H/w1enDydNMUFRIhSYYhGgl/tnb5bJeennL98 8Zlt4tPD5Wwu41wYk/yF+hbwr8MdX5S/X4OXUcte1p15dw2mgyOljT/Kfvhm5mnpElmX GpPFiyfJGx+nu4WCaIWo3gi04qaNCO/Ha7VrhquzzSU1aYnlah6AuhjMNIUljsJatL1K s+rfuRh5prLINvgO5WOll+i0nNMTkgoNAPZQriCdsZnXcRuBKKAO9+9BUVwYELzDuaD1 bZTRhooITCUII0OpSpduzsdP5j6+glF9Z6jS6ixqPg6dmsqkxYmhDQwoDEm3tCQbERSZ J7rA== X-Forwarded-Encrypted: i=1; AL+hErE2CVnNkXZbCd0/+7xYcRjgKtLGHS5h+NYVMmbr2g9p/iZFEn8RFQxRWWfOYrccYfnQkrpfd04=@vger.kernel.org X-Gm-Message-State: APuU4Z9pgjLr92jtPiwVQCIuodWZe+deHWmV1p7ZC883mP0EdVDcBqoW NmvcEci3KVDP3fa3WqlmBw6qdg5SMWBtz+ssXBbmc8YviX0oaG10uQk= X-Gm-Gg: AZFdTZd6CefnxDOKDsc3N1JNbg4IZGeLdxUZ6T5+BlqoQDp6iEwUhCui39UgBqyx0GT Bkeu2Xs1Mmeijyoal02nUIoB1fDjddwFMmFg9zlEvrln3t8Sk6e64vVIZg1FOTtTfFcOkAyEg5y yflF88akBHHFjBy2uWJPdc1C4SqUJAVkrVn1QY4VhdxiZshnUzmjlAB+o+ulUSUuqzH2E7c8wkv b9xCEI4UoSIKC/8d0zaUxHUqHhcWjAytcnDNqyDc7yTyX976nI33kzXbTuD/eZW9UlyYHNXAg8D ldj+CRTbetYL1THEASSLBWKMcsuIujGk105ILcuXt98POv2OWe3aVNKhvyP+LIRkpqyuZXc2CEX aBXjphNjoNPg2iX75fy844gKEnMyIGQe+89GYsoVpQCe2B5bzGRPSpfriuuoNRoEkWqzTvpAU+s dFEH9s+x/sw9T3f7ISKjsTezsgzQukJ5nzck8cKsAHQGFyAHh8iatu9dUa2VXQ5Y514/BrfASLe TrPUu4I3kDapPI6d9zNntxVLhy9zEiJqKcGKmFMmW7F7I5Ug9UpOmn1XXup4CvHiTh9cTmMAJ9u Fl85PhkARF67gUsnU/JF 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: netdev@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