[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167584741785.9727.6175593678410014417.git-patchwork-notify@kernel.org>
Date: Wed, 08 Feb 2023 09:10:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kevin Yang <yyd@...gle.com>
Cc: davem@...emloft.net, edumazet@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] txhash: fix sk->sk_txrehash default
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Tue, 7 Feb 2023 02:08:20 +0000 you wrote:
> This code fix a bug that sk->sk_txrehash gets its default enable
> value from sysctl_txrehash only when the socket is a TCP listener.
>
> We should have sysctl_txrehash to set the default sk->sk_txrehash,
> no matter TCP, nor listerner/connector.
>
> Tested by following packetdrill:
> 0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3
> +0 socket(..., SOCK_DGRAM, IPPROTO_UDP) = 4
> // SO_TXREHASH == 74, default to sysctl_txrehash == 1
> +0 getsockopt(3, SOL_SOCKET, 74, [1], [4]) = 0
> +0 getsockopt(4, SOL_SOCKET, 74, [1], [4]) = 0
>
> [...]
Here is the summary with links:
- [net] txhash: fix sk->sk_txrehash default
https://git.kernel.org/netdev/net/c/c11204c78d69
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists