diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-05-19 13:57:55 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2025-05-23 10:24:18 +0100 |
commit | ae4f2f59e1f9c7c9cab1641a3c9645e587f0bc72 (patch) | |
tree | 312fb2dd1cdc980a88eeea8fb45b744b5ffda06a /net/unix/af_unix.c | |
parent | 38b95d588f8fd07027ad8dbca3e1d2b5c13413ae (diff) |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions