On Fri, Jul 02, 2021 at 10:50:43AM +0000, David Laight wrote: > From: Martin KaFai Lau > > Sent: 01 July 2021 21:06 > > > > This set is to allow bpf tcp iter to call bpf_(get|set)sockopt. > > How does that work at all? > > IIRC only setsockopt() was converted so that it is callable > with a kernel buffer. > The corresponding change wasn't done to getsockopt(). It calls _bpf_getsockopt which does not depend on sys_getsockopt.