diff options
| author | Kuniyuki Iwashima <[email protected]> | 2024-10-21 18:32:36 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-10-29 10:54:57 +0000 |
| commit | d1c81818aa227b37d65b40f9883109c5256b9bfb (patch) | |
| tree | bddaf06e3b31d5ef3e6147037816559696547fa4 /net/core/dev_ioctl.c | |
| parent | ipv4: Convert check_lifetime() to per-netns RTNL. (diff) | |
| download | kernel-d1c81818aa227b37d65b40f9883109c5256b9bfb.tar.gz kernel-d1c81818aa227b37d65b40f9883109c5256b9bfb.zip | |
rtnetlink: Define rtnl_net_trylock().
We will need the per-netns version of rtnl_trylock().
rtnl_net_trylock() calls __rtnl_net_lock() only when rtnl_trylock()
successfully holds RTNL.
When RTNL is removed, we will use mutex_trylock() for per-netns RTNL.
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/core/dev_ioctl.c')
0 files changed, 0 insertions, 0 deletions
