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
..
2024-08-26 09:37:23 -07:00
2024-08-26 09:37:23 -07:00
2024-06-25 11:10:18 +02:00
2025-07-17 18:37:05 +02:00
2025-02-08 09:57:10 +01:00
2024-05-08 10:35:09 +01:00
2024-08-26 09:37:23 -07:00
2025-12-18 13:55:22 +01:00
2024-08-26 09:37:23 -07:00
2024-05-07 01:35:55 +02:00
2024-08-26 09:37:23 -07:00
2026-01-08 10:15:01 +01:00
2024-12-19 18:13:13 +01:00
2024-08-26 09:37:23 -07:00
2024-08-12 17:23:57 -07:00
2024-08-26 09:37:23 -07:00
2024-09-11 20:44:31 -07:00
2024-08-12 17:50:34 -07:00
2024-08-26 09:37:23 -07:00
2024-08-26 09:37:23 -07:00
2024-05-30 18:29:38 -07:00
2024-05-30 18:29:38 -07:00
2025-02-27 04:30:19 -08:00
2025-02-27 04:30:19 -08:00
2024-07-08 14:07:31 -07:00
2024-05-09 20:25:55 -07:00
2024-08-26 09:37:23 -07:00