[OEM-5.6][SRU][PATCH 0/1] selftests: net: ip_defrag: ignore EPERM
Po-Hsu Lin
po-hsu.lin at canonical.com
Fri Dec 18 02:55:02 UTC 2020
[Impact]
Failure to run ip_defrag deterministically.
# selftests: net: ip_defrag.sh
# ipv4 defrag
# PASS
# seed = 1608066927
# ipv4 defrag with overlaps
# PASS
# seed = 1608066928
# ipv6 defrag
# PASS
# seed = 1608066933
# ipv6 defrag with overlaps
# PASS
# seed = 1608066933
# ipv6 nf_conntrack defrag
# seed = 1608066941
# ./ip_defrag: recv: payload_len = 9990 max_frag_len = 8: Resource temporarily unavailable
not ok 18 selftests: net: ip_defrag.sh # exit=1
[Fix]
* 065fcfd49763ec ("selftests: net: ip_defrag: ignore EPERM")
Use smaller packets and ignore EPERM.
This fix has already landed on other generic kernels in bug 1826848
[Test case]
Run the ip_defrag.sh multiple times without observing failures.
[Where problems could occur]
Fix is limited to the testing tool, it won't affect kernel
functionality but the worst case is if the test fix is incorrect,
it will cause us to miss real kernel bugs.
Thadeu Lima de Souza Cascardo (1):
selftests: net: ip_defrag: ignore EPERM
tools/testing/selftests/net/ip_defrag.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--
2.7.4
More information about the kernel-team
mailing list