summary refs log tree commit diff
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@canonical.com>2020-06-02 15:38:37 -0300
committerDavid S. Miller <davem@davemloft.net>2020-06-02 15:54:20 -0700
commit065fcfd49763ec71ae345bb5c5a74f961031e70e (patch)
treedfe83d3a9cf6348aca32eb9b6bf43e1e2101e5c5 /kernel/sysctl.c
parente8224bfe77293494626f6eec1884fee7b87d0ced (diff)
downloadlinux-065fcfd49763ec71ae345bb5c5a74f961031e70e.tar.gz
selftests: net: ip_defrag: ignore EPERM
When running with conntrack rules, the dropped overlap fragments may cause
EPERM to be returned to sendto. Instead of completely failing, just ignore
those errors and continue. If this causes packets with overlap fragments to
be dropped as expected, that is okay. And if it causes packets that are
expected to be received to be dropped, which should not happen, it will be
detected as failure.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions