lkml.org 
[lkml]   [2016]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4] udp reuseport: fix packet of same flow hashed to different socket
From
Date
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.



\
 
 \ /
  Last update: 2016-06-13 05:21    [W:0.068 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site