On Wed, Jun 26, 2019 at 08:56:53PM +0200, Florian Westphal wrote: > Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote: > > On Wed, Jun 26, 2019 at 08:42:34PM +0200, Florian Westphal wrote: > > > diff --git a/tools/testing/selftests/netfilter/nf-queue.c b/tools/testing/selftests/netfilter/nf-queue.c > > > new file mode 100644 > > > index 000000000000..897274bd6f4a > > > --- /dev/null > > > +++ b/tools/testing/selftests/netfilter/nf-queue.c > > > > Oh well. Lots of copied and pasted code from the libraries. > > > > We'll have to remind to take patches for the example in the library > > and the kernel. > > Do you have an alternative proposal? Probably install this nf-queue tool from libraries? Then, selftest use this binary? So we have a single copy of this code :-)