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: Nzhang kai <zhangkaiheb@126.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net> Stable-dep-of: 64ae13ed ("net: core: fix flow symmetric hash") Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NJialin Zhang <zhangjialin11@huawei.com> Reviewed-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录