[LTP] [PATCH v2 1/3] network/stress/multicast/packet-flood: Update to new API

Joerg Vehlow lkml@jv-coder.de
Thu Nov 19 13:05:36 CET 2020


Hi,
> I see, find_portbundle is just a wrapper for netstat and it's not setting
> any address family, so netstat list all.
That's what I was talking about. It lists all used ports and selects 
only ports, that are free on ipv4 and ipv6. For that reason it was "good 
enough". But I already changed it for the next version of the patch.

>> I think the "thing-under-test" here is the receiver, not the sender. I
>> don't see any benefit swapping this, it will only move the test to the
>> wrong machine, if network namespaces are not in us
>>
>> Both machines are under test.
According to the test description, the test is about testing, if the 
kernel crashes, if a huge number of udp packets is RECEIVED. To me this 
sounds like the receiver should be under test and the sender is just 
some dummy. Of course both is tested here if it runs on the same system 
with namespaces. What I still don't see is the benefit of changing 
sender and receiver.

Jörg



More information about the ltp mailing list