aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2024-07-10 20:33:10 +0000
committerLeon Romanovsky <[email protected]>2024-07-14 07:32:57 +0000
commit2043a14fb3de9d88440b21590f714306fcbbd55f (patch)
tree046d89dfdc0169f3fe13c3baff600435720470d4 /drivers/acpi/cppc_acpi.c
parentRDMA/hns: Fix mbx timing out before CMD execution is completed (diff)
downloadkernel-2043a14fb3de9d88440b21590f714306fcbbd55f.tar.gz
kernel-2043a14fb3de9d88440b21590f714306fcbbd55f.zip
RDMA: Fix netdev tracker in ib_device_set_netdev
If a netdev has already been assigned, ib_device_set_netdev needs to release the reference on the older netdev but it is mistakenly being called for the new netdev. Fix it and in the process use netdev_put to be symmetrical with the netdev_hold. Fixes: 09f530f0c6d6 ("RDMA: Add netdevice_tracker to ib_device_set_netdev()") Signed-off-by: David Ahern <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions