diff options
| author | Eric Dumazet <[email protected]> | 2025-03-02 12:42:36 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-05 01:46:26 +0000 |
| commit | d186f405fdf4229d0e9a52ba71662404b06cc002 (patch) | |
| tree | 6fe084401a9ea3a703ca5233285e209400519f9a /rust/helpers/helpers.c | |
| parent | tcp: optimize inet_use_bhash2_on_bind() (diff) | |
| download | kernel-d186f405fdf4229d0e9a52ba71662404b06cc002.tar.gz kernel-d186f405fdf4229d0e9a52ba71662404b06cc002.zip | |
tcp: add RCU management to inet_bind_bucket
Add RCU protection to inet_bind_bucket structure.
- Add rcu_head field to the structure definition.
- Use kfree_rcu() at destroy time, and remove inet_bind_bucket_destroy()
first argument.
- Use hlist_del_rcu() and hlist_add_head_rcu() methods.
Signed-off-by: Eric Dumazet <[email protected]>
Reviewed-by: Jason Xing <[email protected]>
Reviewed-by: Kuniyuki Iwashima <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
