[PATCH] server: Use SO_BINDTODEVICE in bind_to_index() if possible.

Paul Gofman pgofman at codeweavers.com
Tue Oct 12 14:34:02 CDT 2021


On 10/12/21 21:58, Erich E. Hoover wrote:
> On Tue, Oct 12, 2021 at 12:51 PM Erich E. Hoover
> <erich.e.hoover at gmail.com> wrote:
>
> Wait, no - I had that right the first time.  I really need more coffee
> today.  Bug 33008 is about interface binding with two different
> applications using the same port on two interfaces (this issue).  This
> can be solved with SO_ATTACH_REUSEPORT_CBPF rule, but it is
> complicated.

Hm... I am a bit unsure anymore what exactly is 33008, I read there that 
it is claimed incorrect to have some 1.2.3.4->0.0.0.0 per se as it 
breaks some NAT rules. But if it is strictly about two Wine processes 
binding UDP to different interfaces, same port, I think my patch should 
be fixing that.





More information about the wine-devel mailing list