diff options
author | 2025-03-12 16:15:31 -0700 | |
---|---|---|
committer | 2025-03-13 08:03:02 -0400 | |
commit | a8445cfec101c42e9d64cdb2dac13973b22c205c (patch) | |
tree | 5cbab7287c61d4ff4c7600f433fb3a2615bac669 /net/lapb/lapb_timer.c | |
parent | RDMA/rxe: Improve readability of ODP pagefault interface (diff) | |
download | wireguard-linux-a8445cfec101c42e9d64cdb2dac13973b22c205c.tar.xz wireguard-linux-a8445cfec101c42e9d64cdb2dac13973b22c205c.zip |
net: mana: Change the function signature of mana_get_primary_netdev_rcu
Change mana_get_primary_netdev_rcu() to mana_get_primary_netdev(), and
return the ndev with refcount held. The caller is responsible for dropping
the refcount.
Also drop the check for IFF_SLAVE as it is not necessary if the upper
device is present.
Signed-off-by: Long Li <longli@microsoft.com>
Link: https://patch.msgid.link/1741821332-9392-1-git-send-email-longli@linuxonhyperv.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions