make -C tools/testing/selftests TARGETS=net TEST_PROGS=psock_snd.sh TEST_GGEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 6000 # selftests: net: psock_snd.sh # dgram # net.ipv4.conf.lo.accept_local = 1 # tx: 128 # rx: 142 # rx: 100 # OK # # dgram bind # net.ipv4.conf.lo.accept_local = 1 # tx: 128 # rx: 142 # rx: 100 # OK # # raw # net.ipv4.conf.lo.accept_local = 1 # tx: 142 # rx: 142 # rx: 100 # OK # # raw bind # net.ipv4.conf.lo.accept_local = 1 # tx: 142 # rx: 142 # rx: 100 # OK # # raw qdisc bypass # net.ipv4.conf.lo.accept_local = 1 # tx: 142 # rx: 142 # rx: 100 # OK # # raw vlan # net.ipv4.conf.lo.accept_local = 1 # tx: 146 # rx: 100 # OK # # raw vnet hdr # net.ipv4.conf.lo.accept_local = 1 # tx: 152 # rx: 142 # rx: 100 # OK # # raw csum_off # net.ipv4.conf.lo.accept_local = 1 # tx: 152 # rx: 142 # rx: 100 # OK # # raw csum_off with bad offset (expected to fail) # net.ipv4.conf.lo.accept_local = 1 # ./psock_snd: write: Invalid argument # raw min size # net.ipv4.conf.lo.accept_local = 1 # tx: 42 # rx: 0 # OK # # raw mtu size # net.ipv4.conf.lo.accept_local = 1 # tx: 1514 # rx: 1472 # OK # # raw mtu size + 1 (expected to fail) # net.ipv4.conf.lo.accept_local = 1 # ./psock_snd: write: Message too long # raw vlan mtu size + 1 (expected to fail) # net.ipv4.conf.lo.accept_local = 1 # ./psock_snd: write: Message too long # dgram mtu size # net.ipv4.conf.lo.accept_local = 1 # tx: 1500 # rx: 1472 # OK # # dgram mtu size + 1 (expected to fail) # net.ipv4.conf.lo.accept_local = 1 # ./psock_snd: write: Message too long # raw truncate hlen (expected to fail: does not arrive) # net.ipv4.conf.lo.accept_local = 1 # tx: 14 # ./psock_snd: recv: Resource temporarily unavailable # raw truncate hlen - 1 (expected to fail: EINVAL) # net.ipv4.conf.lo.accept_local = 1 # ./psock_snd: write: Invalid argument # raw gso min size # net.ipv4.conf.lo.accept_local = 1 # tx: 1525 # rx: 1473 # OK # # raw gso max size # net.ipv4.conf.lo.accept_local = 1 # tx: 65559 # rx: 65507 # OK # # raw gso max size + 1 (expected to fail) # net.ipv4.conf.lo.accept_lo[ 1263.835602] IPv4: Oversized IP packet from 172.17.0.2 cal = 1 # tx: 65560 # ./psock_snd: recv: Resource temporarily unavailable # OK. All tests passed ok 1 selftests: net: psock_snd.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->