Files
linux/drivers/infiniband/core
David Ahern 2043a14fb3 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: 09f530f0c6 ("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]>
2024-07-14 10:32:57 +03:00
..
2024-04-30 18:32:38 -07:00
…
…
…
2022-12-10 11:01:12 -05:00
…
…
…
…
…
…
…
…
…
…