From patchwork Mon Jun 24 13:27:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geliang Tang X-Patchwork-Id: 807121 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 305591311A1; Mon, 24 Jun 2024 13:28:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719235689; cv=none; b=FGJA7AgXBMhW5GfmG7zJVcrR6ikxbNHlEBbq1DWmGGGGWLVrw7UjtlD3xevyyhJx5cWRPrRrCjBOMtn4dyusOoOcXnOFNt5PeVgPBJbMyO79XlBuIYlyj1h+IC5GyCTxbxgBg3hovMs9fJJiXR07mcXkMfLYXK/sBNbHEMbwgII= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719235689; c=relaxed/simple; bh=Zn2Kd04iJelTbJ0C0rm+TQpRo5c6Rg3np49R/GQosys=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EhoiFW4Wwtu/ieRbOFbbsVYbCKCDFv5gqU4yCgKWLp2P0yWkXLwUTycW/dPWNrw+yUclOtawbz0r9ioEH1xExDvDDLlU+xA3jBP+rBMAHU6thgJaoNJfw+7FCIAY2zwznJ8A4gYvDtYxx4oxilY6mTkf0cw5MDQRdidi33IqJws= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PXB+HlCv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PXB+HlCv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACFCBC32782; Mon, 24 Jun 2024 13:28:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719235688; bh=Zn2Kd04iJelTbJ0C0rm+TQpRo5c6Rg3np49R/GQosys=; h=From:To:Cc:Subject:Date:From; b=PXB+HlCvLUIFyEAfztGxKcY8Enc/NVWxkKorr1dqr0QQ/7yTz0w2nVHXiUsL6xqz8 C2rLCHj+45+nByrm2TG+G5bwTdRBX7p79PCjK5PZMH8J0W2ngiXrjxHLTBop8CtKEF 2zMIGHgDsBIE/yeFxI/l/ySlXnnA6oQthFlI8WyJ9yiwtGsV6x8H3z1CdjofOsraAz mnVFDGkyUBXMdUBoSP4N7yyjBAxzx9+vS7apOiRa2mrAHOAv0gW96RLSvzDxXpWICf foSZFZIVkvaHuARysyhWXThhjV52GhLe3jMJ1W/8u4/GDejGWxMYwXf1Mb21mUqnO+ jqSZs+uwcsPUQ== From: Geliang Tang To: John Fastabend , Jakub Sitnicki , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , David Ahern , Andrii Nakryiko , Eduard Zingerman , Mykola Lysenko , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Shuah Khan , Mykyta Yatsenko , Miao Xu , Yuran Pereira Cc: Geliang Tang , netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH net 0/3] Fixes for BPF selftests on loongarch Date: Mon, 24 Jun 2024 21:27:54 +0800 Message-ID: X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Geliang Tang When I ran BPF selftests on loongarch recently, some errors occur. Fix them in this set. Geliang Tang (3): skmsg: null check for page in sk_msg_recvmsg inet: null check for close in inet_release selftests/bpf: Null checks for link in bpf_tcp_ca net/core/skmsg.c | 2 ++ net/ipv4/af_inet.c | 3 ++- tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | 12 ++++++++---- 3 files changed, 12 insertions(+), 5 deletions(-)