[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220914111936.19881-1-oss@lmb.io>
Date: Wed, 14 Sep 2022 11:19:36 +0000
From: Lorenz Bauer <oss@....io>
To: shaozhengchao@...wei.com, ast@...nel.org, daniel@...earbox.net
Cc: bpf@...r.kernel.org, linux-kernel@...r.kernel.org, sdf@...gle.com,
yuehaibing@...wei.com, Lorenz Bauer <oss@....io>
Subject: Re: [PATCH v4,bpf-next] bpf: Don't redirect packets with invalid pkt_len
Hi,
I think this patch is causing user-space breakage, see [0].
The gist is that we do BPF_PROG_RUN of a socket filter with 14 byte input to determine whether
BPF_PROG_RUN is available or not. I'll fix this in cilium/ebpf, but I think this patch
needs more work since users may be doing the same thing in their code.
Thanks,
Lorenz
0: https://github.com/cilium/ebpf/pull/788
Powered by blists - more mailing lists