Commit e856feff authored by zhang kai's avatar zhang kai Committed by Jialin Zhang
Browse files

net: let flow have same hash in two directions

stable inclusion
from stable-v5.10.146
commit e90001e1dd96cb98e53c6dab6d657df09d919e96
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0VX

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e90001e1dd96cb98e53c6dab6d657df09d919e96



--------------------------------

[ Upstream commit 1e60cebf ]

using same source and destination ip/port for flow hash calculation
within the two directions.

Signed-off-by: default avatarzhang kai <zhangkaiheb@126.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 64ae13ed ("net: core: fix flow symmetric hash")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 5837e7d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment