Re: [PATCH bpf-next v2 1/4] skmsg: null check for sg_page in sk_msg_recvmsg

2024-06-27 Thread Geliang Tang
Hi John, On Wed, 2024-06-26 at 21:05 +0800, Geliang Tang wrote: > On Tue, 2024-06-25 at 12:37 -0700, John Fastabend wrote: > > Eric Dumazet wrote: > > > On Tue, Jun 25, 2024 at 10:25 AM Geliang Tang > > > > > > wrote: > > > > > > > > From: Geliang Tang > > > > > > > > Run the following BPF sel

Re: [PATCH bpf-next v2 1/4] skmsg: null check for sg_page in sk_msg_recvmsg

2024-06-26 Thread Geliang Tang
On Tue, 2024-06-25 at 12:37 -0700, John Fastabend wrote: > Eric Dumazet wrote: > > On Tue, Jun 25, 2024 at 10:25 AM Geliang Tang > > wrote: > > > > > > From: Geliang Tang > > > > > > Run the following BPF selftests on Loongarch: > > > > > > ./test_progs -t sockmap_basic > > > > > > A Kernel p

Re: [PATCH bpf-next v2 1/4] skmsg: null check for sg_page in sk_msg_recvmsg

2024-06-25 Thread John Fastabend
Eric Dumazet wrote: > On Tue, Jun 25, 2024 at 10:25 AM Geliang Tang wrote: > > > > From: Geliang Tang > > > > Run the following BPF selftests on Loongarch: > > > > ./test_progs -t sockmap_basic > > > > A Kernel panic occurs: > > > > ''' > > Oops[#1]: > > CPU: 22 PID: 2824 Comm: test_progs Taint

Re: [PATCH bpf-next v2 1/4] skmsg: null check for sg_page in sk_msg_recvmsg

2024-06-25 Thread Eric Dumazet
On Tue, Jun 25, 2024 at 10:25 AM Geliang Tang wrote: > > From: Geliang Tang > > Run the following BPF selftests on Loongarch: > > ./test_progs -t sockmap_basic > > A Kernel panic occurs: > > ''' > Oops[#1]: > CPU: 22 PID: 2824 Comm: test_progs Tainted: G OE 6.10.0-rc2+ > #18 >

[PATCH bpf-next v2 1/4] skmsg: null check for sg_page in sk_msg_recvmsg

2024-06-25 Thread Geliang Tang
From: Geliang Tang Run the following BPF selftests on Loongarch: ./test_progs -t sockmap_basic A Kernel panic occurs: ''' Oops[#1]: CPU: 22 PID: 2824 Comm: test_progs Tainted: G OE 6.10.0-rc2+ #18 Hardware name: LOONGSON Dabieshan/Loongson-TC542F0, BIOS Loongson-UDK2018-V4.0