Files
linux-stable-mirror/include/net
Long Li 367bad70cc net: mana: Change the function signature of mana_get_primary_netdev_rcu
commit a8445cfec1 upstream.

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>
Fixes: 1df03a4b44 ("RDMA/mana_ib: Set correct device into ib")
Cc: stable@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-02-06 16:55:51 +01:00
..
2025-07-17 18:37:05 +02:00
2025-02-08 09:57:10 +01:00
2025-12-18 13:55:22 +01:00
2026-01-08 10:15:01 +01:00
2024-12-19 18:13:13 +01:00
2024-09-11 20:44:31 -07:00
2025-02-27 04:30:19 -08:00
2025-02-27 04:30:19 -08:00