diff options
author | 2019-01-22 10:02:53 -0800 | |
---|---|---|
committer | 2019-01-25 21:37:11 -0800 | |
commit | 4c3510483d26420d2c2c7cc075ad872286cc5932 (patch) | |
tree | 299dc0f94d0626e3f75d61450507135f0892389d /lib | |
parent | net: IP6 defrag: use rbtrees in nf_conntrack_reasm.c (diff) | |
download | linux-dev-4c3510483d26420d2c2c7cc075ad872286cc5932.tar.xz linux-dev-4c3510483d26420d2c2c7cc075ad872286cc5932.zip |
selftests: net: ip_defrag: cover new IPv6 defrag behavior
This patch adds several changes to the ip_defrag selftest, to cover
new IPv6 defrag behavior:
- min IPv6 frag size is now 8 instead of 1280
- new test cases to cover IPv6 defragmentation in nf_conntrack_reasm.c
- new "permissive" mode in negative (overlap) tests: netfilter
sometimes drops invalid packets without passing them to IPv6
underneath, and thus defragmentation sometimes succeeds when
it is expected to fail; so the permissive mode does not fail the
test if the correct reassembled datagram is received instead of a
timeout.
Signed-off-by: Peter Oskolkov <posk@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions