From: David Miller <davem@davemloft.net>
To: posk@google.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next 2/2] selftests/net: add ip_defrag selftest
Date: Wed, 29 Aug 2018 19:50:04 -0700 (PDT) [thread overview]
Message-ID: <20180829.195004.204544163452787743.davem@davemloft.net> (raw)
In-Reply-To: <20180828183620.101597-2-posk@google.com>
From: Peter Oskolkov <posk@google.com>
Date: Tue, 28 Aug 2018 11:36:20 -0700
> This test creates a raw IPv4 socket, fragments a largish UDP
> datagram and sends the fragments out of order.
>
> Then repeats in a loop with different message and fragment lengths.
>
> Then does the same with overlapping fragments (with overlapping
> fragments the expectation is that the recv times out).
>
> Tested:
>
> root@<host># time ./ip_defrag.sh
> ipv4 defrag
> PASS
> ipv4 defrag with overlaps
> PASS
>
> real 1m7.679s
> user 0m0.628s
> sys 0m2.242s
>
> A similar test for IPv6 is to follow.
>
> Signed-off-by: Peter Oskolkov <posk@google.com>
> Reviewed-by: Willem de Bruijn <willemb@google.com>
Applied.
next prev parent reply other threads:[~2018-08-30 6:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-28 18:36 [PATCH net-next 1/2] ip: fail fast on IP defrag errors Peter Oskolkov
2018-08-28 18:36 ` [PATCH net-next 2/2] selftests/net: add ip_defrag selftest Peter Oskolkov
2018-08-30 2:50 ` David Miller [this message]
2018-08-30 2:49 ` [PATCH net-next 1/2] ip: fail fast on IP defrag errors David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180829.195004.204544163452787743.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=posk@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.