From: Peter Oskolkov <[email protected]>
Date: Fri, 4 Jan 2019 09:43:08 -0800
> Commit ade446403bfb ("net: ipv4: do not handle duplicate fragments as
> overlapping") changed IPv4 defragmentation so that duplicate fragments,
> as well as _some_ fragments completely covered by previously delivered
> fragments, do not lead to the whole frag queue being discarded. This
> makes the existing ip_defrag selftest flaky.
>
> This patch
> * makes sure that negative IPv4 defrag tests generate truly overlapping
> fragments that trigger defrag queue drops;
> * tests that duplicate IPv4 fragments do not trigger defrag queue drops;
> * makes a couple of minor tweaks to the test aimed at increasing its code
> coverage and reduce flakiness.
>
> Signed-off-by: Peter Oskolkov <[email protected]>
Applied. Although:
> @@ -37,3 +43,5 @@ ip netns exec "${NETNS}" ./ip_defrag -6
> echo "ipv6 defrag with overlaps"
> ip netns exec "${NETNS}" ./ip_defrag -6o
>
> +echo "all tests done"
> +
Please avoid empty blank lines at the end of files, GIT warns about this
and I have to fix it up.