Re: [PATCH] net: fix multicast support with BSD (macOS) socket implementations

2022-05-16 Thread Vitaly Cheptsov
Gentle ping :) > On 3 May 2022, at 19:10, Vitaly Cheptsov wrote: > > Hi Daniel, > > Thank you for your comment. Socket implementation on all the systems is > rather complicated, and while I am fine to update the patch with better > reasoning, it needs to work on macOS. Given the situation wit

Re: [PATCH] net: fix multicast support with BSD (macOS) socket implementations

2022-05-03 Thread Vitaly Cheptsov
Hi Daniel, Thank you for your comment. Socket implementation on all the systems is rather complicated, and while I am fine to update the patch with better reasoning, it needs to work on macOS. Given the situation with Windows, I think we may want to ifdef the change to be macOS-specific. Other

Re: [PATCH] net: fix multicast support with BSD (macOS) socket implementations

2022-05-03 Thread Daniel P . Berrangé
On Mon, May 02, 2022 at 03:38:30AM +0300, Vitaly Cheptsov wrote: > This patch fixes socket communication with QEMU -> host on macOS, > which was originally impossible due to QEMU and host program > having to bind to the same ip/port in a way not supported by BSD > sockets. The change was tested on

[PATCH] net: fix multicast support with BSD (macOS) socket implementations

2022-05-01 Thread Vitaly Cheptsov
This patch fixes socket communication with QEMU -> host on macOS, which was originally impossible due to QEMU and host program having to bind to the same ip/port in a way not supported by BSD sockets. The change was tested on both Linux and macOS. As per BSD manual pages SO_REUSEPORT allows comple