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

Erich E. Hoover erich.e.hoover at gmail.com
Tue Oct 12 13:58:08 CDT 2021


On Tue, Oct 12, 2021 at 12:51 PM Erich E. Hoover
<erich.e.hoover at gmail.com> wrote:
>
> On Tue, Oct 12, 2021 at 12:50 PM Erich E. Hoover
> <erich.e.hoover at gmail.com> wrote:
> >
> > On 10/12/21 21:06, Paul Gofman wrote:
> > > Bug 33008 looks like about this.
> >
> > This is correct, Bug 33008 is about two applications using the same
> > port and binding to two different interfaces.  This can be solved with
> > a SO_ATTACH_REUSEPORT_CBPF rule, but it is complicated.
>
> Ack, this is _incorrect_.  Sorry about that.

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.

Best,
Erich



More information about the wine-devel mailing list