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

2016-06-12 Thread Eric Dumazet
On Sun, 2016-06-12 at 20:43 +0800, Su Xuemin wrote: > From: "Su, Xuemin" ... > Signed-off-by: Su, Xuemin > Signed-off-by: Eric Dumazet > --- First, I want to thank you for this very high quality submission, especially if

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

2016-06-12 Thread Su Xuemin
From: "Su, Xuemin" 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: 1) When hslot->count <= 10, __udp_lib_lookup() searches udp_table->hash, and always passes 'daddr' to