Re: [PATCH net-next] selftests: add selftest for UDP SO_PEEK_OFF support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 2, 2024 at 9:07 AM Stanislav Fomichev <sdf@xxxxxxxxxxx> wrote:
>
> On 09/01, Jason Xing wrote:
> > From: Jason Xing <kernelxing@xxxxxxxxxxx>
> >
> > Add the SO_PEEK_OFF selftest for UDP. In this patch, I mainly do
> > three things:
> > 1. rename tcp_so_peek_off.c
> > 2. adjust for UDP protocol
> > 3. add selftests into it
> >
> > Suggested-by: Jon Maloy <jmaloy@xxxxxxxxxx>
> > Signed-off-by: Jason Xing <kernelxing@xxxxxxxxxxx>
> > ---
> > Link: https://lore.kernel.org/all/9f4dd14d-fbe3-4c61-b04c-f0e6b8096d7b@xxxxxxxxxx/
> > ---
> >  tools/testing/selftests/net/Makefile          |  2 +-
> >  .../{tcp_so_peek_off.c => sk_so_peek_off.c}   | 91 +++++++++++--------
> >  2 files changed, 56 insertions(+), 37 deletions(-)
> >  rename tools/testing/selftests/net/{tcp_so_peek_off.c => sk_so_peek_off.c} (58%)
> >
> > diff --git a/tools/testing/selftests/net/Makefile b/tools/testing/selftests/net/Makefile
> > index 1179e3261bef..d5029f978aa9 100644
> > --- a/tools/testing/selftests/net/Makefile
> > +++ b/tools/testing/selftests/net/Makefile
> > @@ -80,7 +80,7 @@ TEST_PROGS += io_uring_zerocopy_tx.sh
> >  TEST_GEN_FILES += bind_bhash
> >  TEST_GEN_PROGS += sk_bind_sendto_listen
> >  TEST_GEN_PROGS += sk_connect_zero_addr
> > -TEST_GEN_PROGS += tcp_so_peek_off
> > +TEST_GEN_PROGS += sk_so_peek_off
>
> Should we also add sk_so_peek_off to gitignore?

Good catch. Will update it in the next version :)

Thanks,
Jason





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux