On Wed, 12 Mar 2025 16:15:31 -0700, longli@linuxonhyperv.com wrote:
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.
[...]
Applied, thanks!
[1/2] net: mana: Change the function signature of mana_get_primary_netdev_rcu
https://git.kernel.org/rdma/rdma/c/a8445cfec101c4
[2/2] RDMA/mana_ib: Handle net event for pointing to the current netdev
https://git.kernel.org/rdma/rdma/c/bee35b7161aaae
Best regards,
--
Leon Romanovsky [off-list ref]