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 <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240710203310.19317-1-dsahern@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2024-07-14 10:32:57 +03:00
..
addr.c
agent.c RDMA/core: Create GSI QP only when CM is supported 2024-07-01 15:38:05 +03:00
agent.h
cache.c RDMA/cache: Release GID table even if leak is detected 2024-06-21 10:17:44 -03:00
cgroup.c
cm.c
cm_msgs.h
cm_trace.c
cm_trace.h
cma.c
cma_configfs.c
cma_priv.h
cma_trace.c
cma_trace.h
core_priv.h
counters.c
cq.c
device.c RDMA: Fix netdev tracker in ib_device_set_netdev 2024-07-14 10:32:57 +03:00
ib_core_uverbs.c
iwcm.c RDMA/iwcm: Fix a use-after-free related to destroying CM IDs 2024-06-09 11:25:10 +03:00
iwcm.h
iwpm_msg.c
iwpm_util.c
iwpm_util.h
lag.c
mad.c RDMA/core: Create GSI QP only when CM is supported 2024-07-01 15:38:05 +03:00
mad_priv.h
mad_rmpp.c
mad_rmpp.h
Makefile
mr_pool.c
multicast.c
netlink.c
nldev.c RDMA/core: Introduce "name_assign_type" for an IB device 2024-07-04 07:59:53 +03:00
opa_smi.h
packer.c
rdma_core.c
rdma_core.h
restrack.c
restrack.h
roce_gid_mgmt.c
rw.c
sa.h
sa_query.c
security.c
smi.c
smi.h
sysfs.c
trace.c
ucma.c
ud_header.c
umem.c
umem_dmabuf.c
umem_odp.c
user_mad.c RDMA/core: Create "issm*" device nodes only when SMI is supported 2024-07-01 15:10:15 +03:00
uverbs.h
uverbs_cmd.c RDMA: Pass entire uverbs attr bundle to create cq function 2024-06-27 16:28:21 -03:00
uverbs_ioctl.c
uverbs_main.c RDMA/core: Support IB sub device with type "SMI" 2024-07-01 15:38:04 +03:00
uverbs_marshall.c
uverbs_std_types.c
uverbs_std_types_async_fd.c
uverbs_std_types_counters.c
uverbs_std_types_cq.c RDMA: Pass entire uverbs attr bundle to create cq function 2024-06-27 16:28:21 -03:00
uverbs_std_types_device.c
uverbs_std_types_dm.c
uverbs_std_types_flow_action.c
uverbs_std_types_mr.c
uverbs_std_types_qp.c
uverbs_std_types_srq.c
uverbs_std_types_wq.c
uverbs_uapi.c
verbs.c IB/core: add support for draining Shared receive queues 2024-06-26 10:53:29 -03:00