summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2026-02-03 12:45:23 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-06 16:55:51 +0100
commit367bad70cc52a3457be28cb4a0e31af2a4c17fed (patch)
tree38f3ff2dcfc4077d90e737007ca0b4bb61b22aa0 /include/net/aligned_data.h
parent40daf043b92b4a4d63cc0cd8efdf7bea67490d6b (diff)
net: mana: Change the function signature of mana_get_primary_netdev_rcu
commit a8445cfec101c42e9d64cdb2dac13973b22c205c 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: 1df03a4b4414 ("RDMA/mana_ib: Set correct device into ib") Cc: stable@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions