[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9ffedf25-bbd7-d020-2413-f78fdc439f2e@gmail.com>
Date: Thu, 2 Aug 2018 08:28:13 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Willem de Bruijn <willemdebruijn.kernel@...il.com>,
Eric Dumazet <eric.dumazet@...il.com>
Cc: shum@...ndrew.org, Network Development <netdev@...r.kernel.org>
Subject: Re: UDP packets arriving on wrong sockets
On 08/02/2018 08:21 AM, Willem de Bruijn wrote:
> On Thu, Aug 2, 2018 at 9:21 AM Eric Dumazet <eric.dumazet@...il.com> wrote:
>>
>>
>>
>> On 08/02/2018 02:05 AM, Andrew Cann wrote:
>>> Hi,
>>>
>>> I posted this on stackoverflow yesterday but I'm reposting it here since it got
>>> no response. Original post: https://stackoverflow.com/questions/51630337/udp-packets-arriving-on-wrong-sockets-on-linux
>>>
>>> I have two UDP sockets bound to the same address and connected to addresses A
>>> and B. I have two more UDP sockets bound to A and B and not connected.
>>>
>>> This is what my /proc/net/udp looks like (trimmed for readability):
>>>
>>> sl local_address rem_address
>>> 3937: 0100007F:DD9C 0300007F:9910
>>> 3937: 0100007F:DD9C 0200007F:907D
>
> You have two sockets bound to the same address and port? Is this using
> SO_REUSEPORT?
Yeah, time to add listen() and accept() support for UDP :)
Powered by blists - more mailing lists