diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-05-02 03:13:02 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-05 17:47:05 -0700 |
| commit | 82720c6196dca23e7b35ebcd3f7314b90eec59f8 (patch) | |
| tree | 904192e92c77b54bf9f1d073647531ee0d1ececa /include/linux/timerqueue.h | |
| parent | 4f71dd1b421d1300237adf546aa14521cdf46355 (diff) | |
geneve: Store struct sock in struct geneve_sock.
geneve does not need to access struct socket itself in the fast
path; it only reads struct sock, and struct socket is only used for
tunnel setup and teardown.
Let's store struct sock directly in struct geneve_sock.
__geneve_sock_release() frees geneve_sock with kfree_rcu(), so
geneve no longer needs synchronize_rcu() in udp_tunnel_sock_release().
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260502031401.3557229-10-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
