diff options
author | 2025-05-19 13:57:55 -0700 | |
---|---|---|
committer | 2025-05-23 10:24:18 +0100 | |
commit | ae4f2f59e1f9c7c9cab1641a3c9645e587f0bc72 (patch) | |
tree | 312fb2dd1cdc980a88eeea8fb45b744b5ffda06a /net/unix/af_unix.c | |
parent | scm: Move scm_recv() from scm.h to scm.c. (diff) | |
download | wireguard-linux-ae4f2f59e1f9c7c9cab1641a3c9645e587f0bc72.tar.xz wireguard-linux-ae4f2f59e1f9c7c9cab1641a3c9645e587f0bc72.zip |
tcp: Restrict SO_TXREHASH to TCP socket.
sk->sk_txrehash is only used for TCP.
Let's restrict SO_TXREHASH to TCP to reflect this.
Later, we will make sk_txrehash a part of the union for other
protocol families.
Note that we need to modify BPF selftest not to get/set
SO_TEREHASH for non-TCP sockets.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions