• Paolo Abeni's avatar
    selftests: fixes for UDP GRO · ada641ff
    Paolo Abeni authored
    The current implementation for UDP GRO tests is racy: the receiver
    may flush the RX queue while the sending is still transmitting and
    incorrectly report RX errors, with a wrong number of packet received.
    
    Add explicit timeouts to the receiver for both connection activation
    (first packet received for UDP) and reception completion, so that
    in the above critical scenario the receiver will wait for the
    transfer completion.
    
    Fixes: 3327a9c4 ("selftests: add functionals test for UDP GRO")
    Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
    Acked-by: default avatarWillem de Bruijn <willemb@google.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ada641ff
Name
Last commit
Last update
..
accounting Loading commit data...
arch Loading commit data...
bpf Loading commit data...
build Loading commit data...
cgroup Loading commit data...
crypto Loading commit data...
firewire Loading commit data...
firmware Loading commit data...
gpio Loading commit data...
hv Loading commit data...
iio Loading commit data...
include Loading commit data...
kvm/kvm_stat Loading commit data...
laptop Loading commit data...
leds Loading commit data...
lib Loading commit data...
memory-model Loading commit data...
nfsd Loading commit data...
objtool Loading commit data...
pci Loading commit data...
pcmcia Loading commit data...
perf Loading commit data...
power Loading commit data...
scripts Loading commit data...
spi Loading commit data...
testing Loading commit data...
thermal/tmon Loading commit data...
time Loading commit data...
usb Loading commit data...
virtio Loading commit data...
vm Loading commit data...
wmi Loading commit data...
Makefile Loading commit data...