All of lore.kernel.org
 help / color / mirror / Atom feed
From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: shum@canndrew.org, Network Development <netdev@vger.kernel.org>
Subject: Re: UDP packets arriving on wrong sockets
Date: Thu, 2 Aug 2018 11:21:41 -0400	[thread overview]
Message-ID: <CAF=yD-KJn8ODsE1cKfRwJ5nFLwnDw-K4s1UhijnxkqX7GtO0OQ@mail.gmail.com> (raw)
In-Reply-To: <be3908e6-252f-eb10-a7ac-e2559e98dda6@gmail.com>

On Thu, Aug 2, 2018 at 9:21 AM Eric Dumazet <eric.dumazet@gmail.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?

  parent reply	other threads:[~2018-08-02 17:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-02  9:05 UDP packets arriving on wrong sockets Andrew Cann
2018-08-02 13:20 ` Eric Dumazet
2018-08-02 13:35   ` Eric Dumazet
2018-08-02 15:21   ` Willem de Bruijn [this message]
2018-08-02 15:28     ` Eric Dumazet
2018-08-03  4:19     ` Andrew Cann
2018-08-03 14:20       ` Willem de Bruijn
2018-08-03 15:20         ` Andrew Cann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAF=yD-KJn8ODsE1cKfRwJ5nFLwnDw-K4s1UhijnxkqX7GtO0OQ@mail.gmail.com' \
    --to=willemdebruijn.kernel@gmail.com \
    --cc=eric.dumazet@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=shum@canndrew.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.