Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1420419

Re: [PATCH v4] udp reuseport: fix packet of same flow hashed to different socket

From Eric Dumazet <eric.dumazet@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v4] udp reuseport: fix packet of same flow hashed to different socket
Date 2016-06-13 05:20 +0200
Message-ID <rJqzT-A7-5@gated-at.bofh.it> (permalink)
References <rJqqe-x5-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2016-06-13 at 11:02 +0800, Su Xuemin wrote:
> From: "Su, Xuemin" <suxm@chinanetcenter.com>
> 
> There is a corner case in which udp packets belonging to a same
> flow are hashed to different socket when hslot->count changes from 10
> to 11:
...
> Signed-off-by: Su, Xuemin <suxm@chinanetcenter.com>
> Signed-off-by: Eric Dumazet <edumazet@google.com>
> ---
> I use this tree to generate the patch:
>   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> 
>  net/ipv4/udp.c | 73 +++++++++++++---------------------------------------------
>  net/ipv6/udp.c | 71 +++++++++++++-------------------------------------------
>  2 files changed, 32 insertions(+), 112 deletions(-)

Very nice simplification of UDP stack, thanks a lot for finalizing this.

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4] udp reuseport: fix packet of same flow hashed to different socket Su Xuemin <suxm@chinanetcenter.com> - 2016-06-13 05:10 +0200
  Re: [PATCH v4] udp reuseport: fix packet of same flow hashed to  different socket Eric Dumazet <eric.dumazet@gmail.com> - 2016-06-13 05:20 +0200
  Re: [PATCH v4] udp reuseport: fix packet of same flow hashed to  different socket David Miller <davem@davemloft.net> - 2016-06-15 01:00 +0200

csiph-web