diff options
| author | Xin Long <lucien.xin@gmail.com> | 2023-06-05 17:40:44 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-07 07:46:21 +0300 |
| commit | ae28ea5cbdee9956464223b304d6c767238b2506 (patch) | |
| tree | 2f2e747c927183b29a86f4b64a2d15133ace62e9 /include/uapi | |
| parent | be1f4a262b43576a6a81490b97ab19a6763f8c75 (diff) | |
| download | linux-ae28ea5cbdee9956464223b304d6c767238b2506.tar.xz | |
tipc: replace open-code bearer rcu_dereference access in bearer.c
Replace these open-code bearer rcu_dereference access with bearer_get(),
like other places in bearer.c. While at it, also use tipc_net() instead
of net_generic(net, tipc_net_id) to get "tn" in bearer.c.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Reviewed-by: Tung Nguyen <tung.q.nguyen@dektech.com.au>
Link: https://lore.kernel.org/r/1072588a8691f970bda950c7e2834d1f2983f58e.1685976044.git.lucien.xin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
