]> git.itanic.dy.fi Git - linux-stable/commit
net: let flow have same hash in two directions
authorzhang kai <zhangkaiheb@126.com>
Wed, 28 Jul 2021 10:54:18 +0000 (18:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Sep 2022 09:10:30 +0000 (11:10 +0200)
commite90001e1dd96cb98e53c6dab6d657df09d919e96
treeba04646412d43be0ddea0f3877a53498263a30d4
parentab4a733874ead120691e8038272d22f8444d3638
net: let flow have same hash in two directions

[ Upstream commit 1e60cebf82948cfdc9497ea4553bab125587593c ]

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

Signed-off-by: zhang kai <zhangkaiheb@126.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 64ae13ed4784 ("net: core: fix flow symmetric hash")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/core/flow_dissector.c