On 3/29/23 07:42, Ales Musil wrote:
> When we send a packet through UDP without other side
> having open port, it usually replies with ICMP message.
> netcat upon getting that error fails with:
> "Ncat: Connection refused.". However, there is a race
> because this message might arrive after the netcat client
> is already done, so it will exit without any error.
> 
> To prevent that error ignore the return code, stdout and stderr
> for those calls. It is fine to ignore because all those changed
> instances are checking packet count after the calls so if the
> netcat fails for other reasons it will be detected by the packet
> count check.
> 
> Signed-off-by: Ales Musil <[email protected]>
> ---

Thanks, Ales!  I applied this to the main branch and backported it to
23.03 and 22.12.

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to