From mboxrd@z Thu Jan 1 00:00:00 1970 From: Willem de Bruijn Subject: Re: UDP packets arriving on wrong sockets Date: Fri, 3 Aug 2018 10:20:06 -0400 Message-ID: References: <20180802090505.GA29624@canndrew.org> <20180803041911.GA30724@canndrew.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Network Development To: shum@canndrew.org Return-path: Received: from mail-io0-f182.google.com ([209.85.223.182]:39911 "EHLO mail-io0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732074AbeHCQRQ (ORCPT ); Fri, 3 Aug 2018 12:17:16 -0400 Received: by mail-io0-f182.google.com with SMTP id o22-v6so5108472ioh.6 for ; Fri, 03 Aug 2018 07:20:43 -0700 (PDT) In-Reply-To: <20180803041911.GA30724@canndrew.org> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Aug 3, 2018 at 12:20 AM Andrew Cann wrote: > > On Thu, Aug 02, 2018 at 11:21:41AM -0400, Willem de Bruijn wrote: > > You have two sockets bound to the same address and port? Is this using > > SO_REUSEPORT? > > Yes, this is using SO_REUSEPORT. Then this is working as intended. Without SO_REUSEPORT it would not be possible to bind two sockets to the same address and port. See documentation, e.g., at https://lwn.net/Articles/542629/